CVE-2012-6711

Related Vulnerabilities: CVE-2012-6711  

Impact: Moderate Public Date: 2019-06-18 CWE: CWE-122 Bugzilla: 1721071: CVE-2012-6711 bash: heap-based buffer overflow during echo of unsupported characters A heap-based buffer overflow was discovered in bash when wide characters, not supported by the current locale set in 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.

A heap-based buffer overflow was discovered in bash when wide characters, not supported by the current locale set in 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.

Find out more about CVE-2012-6711 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 7
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 8 bash Not affected
Red Hat Enterprise Linux 7 bash Affected
Red Hat Enterprise Linux 6 bash Not affected
Red Hat Enterprise Linux 5 bash Not affected

Acknowledgements

Red Hat would like to thank Erez Turjeman for reporting this issue.