Severity
7.8HIGH
EPSS
0.1%
top 77.19%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 18
Latest updateApr 23

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().

CVSS vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.0 | Impact: 5.9

Affected Packages2 packages

Debianbash< 4.3-1+3
NVDgnu/bash4.24.3

Also affects: Enterprise Linux 7.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-rwf6-27gf-7q62: A heap-based buffer overflow exists in GNU Bash before 42022-04-23
OSV
CVE-2012-6711: A heap-based buffer overflow exists in GNU Bash before 42019-06-18
CVEList
CVE-2012-6711: A heap-based buffer overflow exists in GNU Bash before 42019-06-18

📋Vendor Advisories

3
Ubuntu
Bash vulnerability2019-11-11
Red Hat
bash: heap-based buffer overflow during echo of unsupported characters2019-06-18
Debian
CVE-2012-6711: bash - A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters,...2012

💬Community

2
Bugzilla
CVE-2012-6711 bash: heap-based buffer overflow during echo of unsupported characters [fedora-all]2019-06-19
Bugzilla
CVE-2012-6711 bash: heap-based buffer overflow during echo of unsupported characters2019-06-17