CVE-2012-6711
Published: 18 June 2019
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().
Priority
Status
Package | Release | Status |
---|---|---|
bash Launchpad, Ubuntu, Debian |
cosmic |
Not vulnerable
|
bionic |
Not vulnerable
(4.4.18-2ubuntu1.1)
|
|
disco |
Not vulnerable
|
|
eoan |
Not vulnerable
|
|
trusty |
Not vulnerable
(4.3.7ubuntu1.8)
|
|
upstream |
Released
(4.3-1)
|
|
xenial |
Not vulnerable
(4.3-14ubuntu1.3)
|
|
Patches: upstream: http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |