Stack-based buffer overflow in Bash - CVE-2012-3410
Published: August 28, 2012 / Updated: July 28, 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 when processing a long filename in /dev/fd, which is not properly handled when expanding the /dev/fd prefix. A remote unauthenticated attacker can trigger stack-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
bash (Alpine package)
SUSE Linux
How to mitigate CVE-2012-3410
bash (Alpine package) - update to 4.1.011-r0
External References
- ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681278
- http://secunia.com/advisories/51086
- http://security.gentoo.org/glsa/glsa-201210-05.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:128
- http://www.openwall.com/lists/oss-security/2012/07/11/11
- http://www.openwall.com/lists/oss-security/2012/07/11/22
- http://www.openwall.com/lists/oss-security/2012/07/12/4
- http://www.securityfocus.com/bid/54937
- https://exchange.xforce.ibmcloud.com/vulnerabilities/77551
- https://hermes.opensuse.org/messages/15227834