GNU binutils 2.28 libbfd bfd/elf32-sh.c sh_elf_set_mach_from_flags Binary File memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GNU binutils 2.28 and classified as critical. Affected by this vulnerability is the function sh_elf_set_mach_from_flags of the file bfd/elf32-sh.c of the component libbfd. Executing a manipulation as part of Binary File can lead to memory corruption.
This vulnerability is tracked as CVE-2017-9744. The attack is restricted to local execution. No exploit exists.
Details
A vulnerability was found in GNU binutils 2.28 (Programming Tool Software). It has been declared as critical. This vulnerability affects the function sh_elf_set_mach_from_flags of the file bfd/elf32-sh.c of the component libbfd. The manipulation as part of a Binary File leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
The sh_elf_set_mach_from_flags function in bfd/elf32-sh.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted binary file, as demonstrated by mishandling of this file during "objdump -D" execution.
The bug was discovered 06/13/2017. The weakness was disclosed 06/19/2017 by Alex as Bug 21578 as not defined bug report (Bugzilla). The advisory is shared for download at sourceware.org. This vulnerability was named CVE-2017-9744 since 06/18/2017. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $0-$5k.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 99108†). The entries VDB-102656, VDB-102655, VDB-102654 and VDB-102653 are pretty similar. Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
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.5
VulDB Base Score: 5.3
VulDB Temp Score: 5.3
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: Memory corruptionCWE: 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 |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
06/13/2017 🔍06/18/2017 🔍
06/19/2017 🔍
06/19/2017 🔍
06/19/2017 🔍
06/19/2017 🔍
12/29/2020 🔍
Sources
Vendor: gnu.orgAdvisory: Bug 21578
Researcher: Alexandre Adamski (Alex)
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-9744 (🔍)
GCVE (CVE): GCVE-0-2017-9744
GCVE (VulDB): GCVE-100-102652
SecurityFocus: 99108 - GNU Binutils 'bfd/elf32-sh.c' Remote Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 06/19/2017 11:19Updated: 12/29/2020 07:35
Changes: 06/19/2017 11:19 (65), 10/19/2019 07:02 (5), 12/29/2020 07:35 (2)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.