GNU binutils up to 2.29 libbfd bfd/cache.c bfd_generic_archive_p use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in GNU binutils up to 2.29. This vulnerability affects the function bfd_generic_archive_p of the file bfd/cache.c of the component libbfd. This manipulation causes use after free.
This vulnerability appears as CVE-2017-12448. The attack requires local access. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical was found in GNU binutils up to 2.29 (Programming Tool Software). Affected by this vulnerability is the function bfd_generic_archive_p of the file bfd/cache.c of the component libbfd. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The bfd_cache_close function in bfd/cache.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause a heap use after free and possibly achieve code execution via a crafted nested archive file. This issue occurs because incorrect functions are called during an attempt to release memory. The issue can be addressed by better input validation in the bfd_generic_archive_p function in bfd/archive.c.
The bug was discovered 07/19/2017. The weakness was presented 08/04/2017 (Website). The advisory is shared at sourceware.org. This vulnerability is known as CVE-2017-12448 since 08/04/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 16 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 105225 (openSUSE Security Update : binutils (openSUSE-2017-1330)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 277638 (Fedora Security Update for binutils (FEDORA-2019-ba3cbcfd20)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 5 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (105225) and SecurityFocus (BID 100499†). See VDB-98231, VDB-98373, VDB-99063 and VDB-99064 for similar entries. Several companies clearly confirm that VulDB is the primary source for best 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: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
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: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 105225
Nessus Name: openSUSE Security Update : binutils (openSUSE-2017-1330)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
07/19/2017 🔍08/04/2017 🔍
08/04/2017 🔍
08/04/2017 🔍
08/05/2017 🔍
08/27/2017 🔍
12/02/2017 🔍
12/14/2017 🔍
01/07/2021 🔍
Sources
Vendor: gnu.orgAdvisory: sourceware.org
Researcher: Nick Clifton
Status: Confirmed
CVE: CVE-2017-12448 (🔍)
GCVE (CVE): GCVE-0-2017-12448
GCVE (VulDB): GCVE-100-104833
SecurityFocus: 100499 - GNU Binutils CVE-2017-13710 Remote Denial of Service Vulnerability
See also: 🔍
Entry
Created: 08/05/2017 20:12Updated: 01/07/2021 10:50
Changes: 08/05/2017 20:12 (74), 11/03/2019 16:37 (5), 01/07/2021 10:50 (2)
Complete: 🔍
Cache ID: 216:708:103
No comments yet. Languages: en.
Please log in to comment.