Stack-based buffer overflow in SoX - CVE-2019-8356
Published: February 19, 2019
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to improper protection on an argument passed to the bitrv2 function, as defined in the fft4g.c source code file of the affected software. A remote attacker can trick the victim into executing a file that submits malicious input to the targeted system with the sox command, trigger a stack-based buffer overflow condition and perform a denial of service (DoS) attack.
Affected software
sox (Ubuntu package)
sox (Alpine package)
sox
sox-debuginfo
sox-debugsource
sox-devel
sox-help
openEuler
How to mitigate CVE-2019-8356
sox (Alpine package) - addressed in versions 14.4.2-r3, 14.4.2-r5
sox - update to 14.4.2.0-31
sox-debuginfo - update to 14.4.2.0-31
sox-debugsource - update to 14.4.2.0-31
sox-devel - update to 14.4.2.0-31
sox-help - update to 14.4.2.0-31