Heap-based buffer overflow in audiofile - CVE-2017-6831
Published: March 20, 2017 / Updated: August 8, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the decodeBlockWAVE function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6. A remote attacker can use a crafted file. to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
openEuler
audiofile
audiofile-debuginfo
audiofile-devel
audiofile-debugsource
audiofile-help
How to mitigate CVE-2017-6831
audiofile-debuginfo - update to 0.3.6-25
audiofile-devel - update to 0.3.6-25
audiofile-debugsource - update to 0.3.6-25
audiofile-help - update to 0.3.6-25
External References
- http://www.debian.org/security/2017/dsa-3814
- http://www.openwall.com/lists/oss-security/2017/03/13/3
- http://www.securityfocus.com/bid/97588
- https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-imadecodeblockwave-ima-cpp/
- https://github.com/antlarr/audiofile/commit/a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6
- https://github.com/mpruett/audiofile/issues/35