CVE-2012-3410
What it is
Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash before 4.2 patch 33 might allow local users to bypass intended restricted shell access via a long filename in /dev/fd, which is not properly handled when expanding the /dev/fd prefix.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Gnu Bash 4.2
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3410.md and follow it. Check whether this project is affected by CVE-2012-3410. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681278
- ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681278
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
- 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