GNU libiberty d-demangle.c dlang_lname heap-based overflow

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GNU libiberty. It has been rated as critical. The impacted element is the function dlang_lname of the file d-demangle.c. Performing a manipulation results in heap-based overflow.
This vulnerability was named CVE-2021-3826. There is no available exploit.
It is suggested to install a patch to address this issue.
Details
A vulnerability was found in GNU libiberty (version unknown). It has been classified as critical. This affects the function dlang_lname of the file d-demangle.c. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of service (segmentation fault and crash) via a crafted mangled symbol.
The weakness was presented 09/02/2022. The advisory is shared at gcc.gnu.org. This vulnerability is uniquely identified as CVE-2021-3826 since 09/23/2021. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 211325 (Fedora 37 : mingw-binutils (2022-667ee398b1)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 5481040197402be6dfee265bd2ff5a4c88e30505 is able to eliminate this problem. The bugfix is ready for download at gcc.gnu.org.
The vulnerability is also documented in the vulnerability database at Tenable (211325). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
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: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211325
Nessus Name: Fedora 37 : mingw-binutils (2022-667ee398b1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 5481040197402be6dfee265bd2ff5a4c88e30505
Timeline
09/23/2021 🔍09/02/2022 🔍
09/02/2022 🔍
11/15/2024 🔍
Sources
Vendor: gnu.orgAdvisory: FEDORA-2022-8e1df11a7a
Status: Confirmed
CVE: CVE-2021-3826 (🔍)
GCVE (CVE): GCVE-0-2021-3826
GCVE (VulDB): GCVE-100-207753
Entry
Created: 09/02/2022 09:44Updated: 11/15/2024 14:03
Changes: 09/02/2022 09:44 (41), 10/11/2022 11:08 (1), 10/11/2022 11:15 (11), 11/15/2024 14:03 (16)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.