CVE-2018-20673
Published: 4 January 2019
The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, contains an integer overflow vulnerability (for "Create an array for saving the template argument values") that can trigger a heap-based buffer overflow, as demonstrated by nm.
Notes
Author | Note |
---|---|
mdeslaur | code was removed in 2.32, see bug for more info |
ccdm94 | provided patch removes functionality for versions before 2.32. See gcc bug for more information. |
Priority
Status
Package | Release | Status |
---|---|---|
binutils Launchpad, Ubuntu, Debian |
bionic |
Ignored
(intrusive fix)
|
cosmic |
Ignored
(end of life)
|
|
disco |
Ignored
(end of life)
|
|
eoan |
Ignored
(end of life)
|
|
focal |
Not vulnerable
(2.34-6ubuntu1.1)
|
|
groovy |
Not vulnerable
(2.35.1-1ubuntu1)
|
|
hirsute |
Not vulnerable
(2.36.1-2ubuntu1)
|
|
impish |
Not vulnerable
(2.36.1-2ubuntu1)
|
|
jammy |
Not vulnerable
(2.36.1-2ubuntu1)
|
|
trusty |
Ignored
(intrusive fix)
|
|
upstream |
Released
(2.32)
|
|
xenial |
Ignored
(intrusive fix)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |