file: Stack-based buffer overflow A stack-based buffer overflow was found in file, possibly resulting in the execution of arbitrary code. file 2017-10-08 2017-10-08 629872 remote 5.32 5.32

file is a utility that guesses a file format by scanning binary data for patterns.

An issue discovered in file allows attackers to write 20 bytes to the stack buffer via a specially crafted .notes section.

A remote attacker, by using a specially crafted .notes section in an ELF binary, could execute arbitrary code or cause a Denial of Service condition.

There is no known workaround at this time.

All file users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/file-5.32"
CVE-2017-1000249 chrisadr chrisadr