CVE-2012-6711

State
Published
Severity
7.0 High
Published
Jun 18, 2019
Updated
Aug 6, 2024
Reserved
Jun 18, 2019

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.07.0 HighCVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:Nmitre

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
n/an/a
  • n/aAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.