GNU binutils up to 2.29 libbfd dwarf2.c decode_line_info File Descriptor memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GNU binutils up to 2.29. It has been rated as critical. This impacts the function decode_line_info of the file dwarf2.c of the component libbfd. The manipulation as part of File Descriptor leads to memory corruption.
This vulnerability is listed as CVE-2017-14939. The attack must be carried out locally. In addition, an exploit is available.
Details
A vulnerability was found in GNU binutils up to 2.29 (Programming Tool Software) and classified as critical. This issue affects the function decode_line_info of the file dwarf2.c of the component libbfd. The manipulation as part of a File Descriptor leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
decode_line_info in dwarf2.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, mishandles a length calculation, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted ELF file, related to read_1_byte.
The bug was discovered 09/24/2017. The weakness was presented 09/30/2017 by Agostino Sarubbo (Website). It is possible to read the advisory at blogs.gentoo.org. The identification of this vulnerability is CVE-2017-14939 since 09/29/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details as well as a public exploit are known.
The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 111916 (Photon OS 1.0: Binutils PHSA-2018-1.0-0104 (deprecated)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family PhotonOS Local Security Checks and running in the context l.
A possible mitigation has been published 5 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (42970), Tenable (111916) and SecurityFocus (BID 101216†). See VDB-105827, VDB-107296, VDB-107298 and VDB-107300 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- 2.16
- 2.17
- 2.18
- 2.19
- 2.20
- 2.21
- 2.22
- 2.23
- 2.24
- 2.25
- 2.26
- 2.27
- 2.28
- 2.29
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 111916
Nessus Name: Photon OS 1.0: Binutils PHSA-2018-1.0-0104 (deprecated)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: 515f23e63c0074ab531bc954f84ca40c6281a724
Timeline
09/24/2017 🔍09/26/2017 🔍
09/29/2017 🔍
09/29/2017 🔍
09/30/2017 🔍
09/30/2017 🔍
02/01/2018 🔍
08/17/2018 🔍
11/30/2024 🔍
Sources
Vendor: gnu.orgAdvisory: blogs.gentoo.org
Researcher: Agostino Sarubbo
Status: Confirmed
CVE: CVE-2017-14939 (🔍)
GCVE (CVE): GCVE-0-2017-14939
GCVE (VulDB): GCVE-100-107303
SecurityFocus: 101216 - GNU Binutils CVE-2017-14939 Remote Denial of Service Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 09/30/2017 11:35Updated: 11/30/2024 19:17
Changes: 09/30/2017 11:35 (69), 11/20/2019 17:58 (12), 12/30/2022 13:19 (4), 11/30/2024 19:17 (19)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.