{"id":"CVE-2012-3410","aliases":["DEBIAN-CVE-2012-3410","EUVD-2012-3380","GHSA-8g5r-93v7-fh2w"],"status":"published","title":"Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash before 4.2 patch 33 might allow local...","description":"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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00413,"percentile":0.35789,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2012-08-27T23:00:00Z","modified":"2026-10-23T17:47:34Z","fixes":[{"ecosystem":"Debian:12","package":"bash","fixed_in":["4.2-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"bash","fixed_in":["4.2-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"bash","fixed_in":["4.2-4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"bash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"bash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"bash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2-4"}]}]}],"products":[{"vendor":"gnu","product":"bash"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/07/11/22","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:128","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77551","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://hermes.opensuse.org/messages/15227834","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://secunia.com/advisories/51086","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/11/11","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/54937","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-201210-05.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681278","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/12/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3410"},{"url":"https://github.com/advisories/GHSA-8g5r-93v7-fh2w"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-3410","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-3410","description":"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.","status":"published","published":"2012-08-27T23:00:00Z","modified":"2024-08-06T20:05:12.514Z","updated_at":"2026-11-02T14:34:50.615647Z"}],"euvd":[{"id":"EUVD-2012-3380","description":"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.","status":"published","published":"2012-08-27T23:00:00Z","modified":"2024-08-06T20:05:12Z","updated_at":"2026-11-03T01:56:10.882899Z"}],"ghsa":[{"id":"GHSA-8g5r-93v7-fh2w","title":"Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash before 4.2 patch 33 might allow local...","description":"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.","status":"published","published":"2022-05-17T19:50:30Z","modified":"2023-01-28T05:04:47Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:44:14.607752Z"}],"nvd":[{"id":"CVE-2012-3410","description":"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.","status":"published","published":"2012-08-27T23:55:01.947Z","modified":"2026-06-16T23:43:10Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:15.643902Z"}],"osv":[{"id":"CVE-2012-3410","description":"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.","status":"published","published":"2012-08-27T23:55:01Z","modified":"2026-04-10T03:44:17.065888Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-3410","description":"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.","status":"published","published":"2012-08-27T23:55:01.947Z","modified":"2026-10-23T17:47:34.275684401Z","updated_at":"2026-11-02T15:45:24.92418Z"}]}}
