CVE-2012-6711

Source
https://nvd.nist.gov/vuln/detail/CVE-2012-6711
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2012-6711.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2012-6711
Related
Published
2019-06-18T18:15:09Z
Modified
2024-11-21T01:46:43Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Debian:11 / bash

Package

Name
bash
Purl
pkg:deb/debian/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / bash

Package

Name
bash
Purl
pkg:deb/debian/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / bash

Package

Name
bash
Purl
pkg:deb/debian/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}