ubuntu-cve-2012-6711
Vulnerability from osv_ubuntu
Published
2019-06-18 18:15
Modified
2025-07-16 04:50
Summary
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().
Severity
7.8 (High)
7.0 (High)
N/A (UNKNOWN)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "bash",
"binary_version": "4.3-14ubuntu1.3"
},
{
"binary_name": "bash-builtins",
"binary_version": "4.3-14ubuntu1.3"
},
{
"binary_name": "bash-dbgsym",
"binary_version": "4.3-14ubuntu1.3"
},
{
"binary_name": "bash-doc",
"binary_version": "4.3-14ubuntu1.3"
},
{
"binary_name": "bash-static",
"binary_version": "4.3-14ubuntu1.3"
},
{
"binary_name": "bash-static-dbgsym",
"binary_version": "4.3-14ubuntu1.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "bash",
"purl": "pkg:deb/ubuntu/bash@4.3-14ubuntu1.3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3-14ubuntu1.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.3-14ubuntu1",
"4.3-14ubuntu1.1",
"4.3-14ubuntu1.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "bash",
"binary_version": "4.4.18-2ubuntu1.1"
},
{
"binary_name": "bash-builtins",
"binary_version": "4.4.18-2ubuntu1.1"
},
{
"binary_name": "bash-builtins-dbgsym",
"binary_version": "4.4.18-2ubuntu1.1"
},
{
"binary_name": "bash-dbgsym",
"binary_version": "4.4.18-2ubuntu1.1"
},
{
"binary_name": "bash-doc",
"binary_version": "4.4.18-2ubuntu1.1"
},
{
"binary_name": "bash-static",
"binary_version": "4.4.18-2ubuntu1.1"
},
{
"binary_name": "bash-static-dbgsym",
"binary_version": "4.4.18-2ubuntu1.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "bash",
"purl": "pkg:deb/ubuntu/bash@4.4.18-2ubuntu1.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.18-2ubuntu1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.4-5ubuntu1",
"4.4.18-1ubuntu1",
"4.4.18-2ubuntu1"
]
}
],
"aliases": [],
"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().",
"id": "UBUNTU-CVE-2012-6711",
"modified": "2025-07-16T04:50:11Z",
"published": "2019-06-18T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2012-6711"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4180-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2012-6711"
}
],
"related": [
"USN-4180-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2012-6711"
],
"withdrawn": "2025-07-18T16:42:48Z"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…