alpine 3.6
format weakness #97

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.

File Name:

./src/Droplet-2.0/libdroplet/include/droplet/utils.h

Context:
# define DPLERR(sys, format, ...) do {fprintf(stderr, "dpl error (%s:%d): ",__FILE__,__LINE__);fprintf(stderr, format, ##__VA_ARGS__ ); if (sys) fprintf(stderr, ": %sn", strerror(errno)); else fprintf(stderr, "n");} while (0)

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.