Stack out-of-bounds read in file - CVE-2019-8904
Published: February 22, 2019
Vulnerability details
The vulnerability allows a remote attacker to obtain potentially sensitive information or perform a denial of service (DoS) attack.
The vulnerability exists due to stack-based buffer over-read in the do_core_note function, as defined in the readelf.c source code file. A remote attacker can trick the victim into executing a file that submits malicious input to the targeted system with the file command, trigger memory corruption and gain access to arbitrary data or perform a denial of service attack.
Affected software
Arch Linux
Amazon Linux AMI
Fedora
file (Ubuntu package)
file (Alpine package)
file
How to mitigate CVE-2019-8904
file (Ubuntu package) - addressed in versions 1:5.25-2ubuntu1.2, 1:5.32-2ubuntu0.2, 1:5.34-2ubuntu0.1
file (Alpine package) - update to 5.36-r0
file - update to 5.34-12.fc29