CVE-2018-20657
libiberty: Memory leak in demangle_template function resulting in a denial of service
Overview
Description
The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-772
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 6 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | gdb +3 | 8.2-6.el8 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | crash +1 | 8.0.2-1.ph4 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | binutils +43 | wont fix | — |
| 8 | binutils +33 | wont fix | — |
| 8 | gdb +3 | 0:8.2-6.el8 | RHSA-2019:3352 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | binutils | affected |
References
- www.securityfocus.com http://www.securityfocus.com/bid/106444
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:3352
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-20657
- gcc.gnu.org https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88539
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-20657.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2019-3352.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-20657
- support.f5.com https://support.f5.com/csp/article/K62602089
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-20657
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.