alpine 3.6
format weakness #50

The software uses a function that accepts a format string as an argument, but the format string originates from an external source.

4

Weakness Breakdown


Warning code(s):

If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always 0-terminate.

File Name:

./src/ConsoleKit-0.4.6/pam-ck-connector/pam-ck-connector.c

Context:
snprintf (ttybuf, len, _PATH_DEV "%s", display_device);

The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a world­wide basis.