GNU Bash up to 4.2 Wide Character lib/sh/strtrans.c ansicstr Environment Variable memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in GNU Bash up to 4.2. This issue affects the function ansicstr in the library lib/sh/strtrans.c of the component Wide Character Handler. Executing a manipulation as part of Environment Variable can lead to memory corruption.
The identification of this vulnerability is CVE-2012-6711. The attack can only be executed locally. There is no exploit available.
Details
A vulnerability has been found in GNU Bash up to 4.2 and classified as critical. This vulnerability affects the function ansicstr in the library lib/sh/strtrans.c of the component Wide Character Handler. The manipulation as part of a Environment Variable leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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().
The weakness was shared 06/18/2019 (Website). The advisory is shared for download at securityfocus.com. This vulnerability was named CVE-2012-6711 since 06/18/2019. The attack needs to be approached locally. The requirement for exploitation is a single authentication. There are known technical details, but no exploit is available.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.7VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.3
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CNA Base Score: 7.0
CNA Vector (MITRE): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: git.savannah.gnu.org
Timeline
06/18/2019 🔍06/18/2019 🔍
06/19/2019 🔍
10/06/2023 🔍
Sources
Vendor: gnu.orgAdvisory: K05122252⛔
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-6711 (🔍)
GCVE (CVE): GCVE-0-2012-6711
GCVE (VulDB): GCVE-100-136624
SecurityFocus: 108824
Entry
Created: 06/19/2019 07:07Updated: 10/06/2023 09:49
Changes: 06/19/2019 07:07 (56), 06/25/2020 12:25 (2), 10/06/2023 09:48 (5), 10/06/2023 09:49 (13)
Complete: 🔍
Cache ID: 216:031:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.