CVE-2012-6711
Last modified
CVE-2012-6711 is a high-severity vulnerability rated 7/10 on the CVSS scale. A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the "echo -e" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the "echo -e" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv().
Metrics
CVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Bash | >= 4.2, <= 4.3 |
| Redhat | Enterprise Linux | 7.0 |
References
- http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1721071Issue Tracking, Third Party Advisory
- http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1721071Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-6711?
How severe is CVE-2012-6711?
How do I fix CVE-2012-6711?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-6705Cross Site Scripting (XSS) exists in Jamroom before 4.2.7 vi…
- CVE-2012-6706A VMSF_DELTA memory corruption was discovered in unrar befor…
- CVE-2012-6707WordPress through 4.8.2 uses a weak MD5-based password hashi…
- CVE-2012-6708jQuery before 1.9.0 is vulnerable to Cross-site Scripting (X…
- CVE-2012-6709ELinks 0.12 and Twibright Links 2.3 have Missing SSL Certifi…
- CVE-2012-6710ext_find_user in eXtplorer through 2.1.2 allows remote attac…
- CVE-2012-6712In the Linux kernel before 3.4, a buffer overflow occurs in …9.8
- CVE-2012-6713The job-manager plugin before 0.7.19 for WordPress has multi…
- CVE-2012-6714The count-per-day plugin before 3.2.3 for WordPress has XSS …
- CVE-2012-6715The formbuilder plugin before 0.9.1 for WordPress has XSS vi…
- CVE-2012-6716The events-manager plugin before 5.1.7 for WordPress has XSS…
- CVE-2012-6717The redirection plugin before 2.2.12 for WordPress has XSS, …
Are you affected by CVE-2012-6711?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
