CVE-2017-15020
High · 7.8CVSS
7.8
EPSS
2.2%
Published
Oct 5, 2017
CISA due date
—
Cloudanix analysis
A problem in a widely used tool for reading program files can make related applications crash when they open certain specially prepared files, potentially slowing down software work.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer over-read in libbfd parse_die and parse_line_table functions when processing crafted ELF files due to pointer mishandling, resulting in application crashes or unspecified further impact.
Why it matters to the business
May interrupt build, analysis, or deployment pipelines that process ELF files via affected Argo CD components, though the vulnerability is old with stable low exploit probability and no known ransomware use.
How an attack unfolds
An attacker supplies a specially crafted ELF file that triggers the over-read during debug information or line table parsing in the BFD library; no named threat actors or campaigns are associated with exploitation.
How to fix it
Upgrade argo-cd-2.9 (Chainguard) to 2.9.3-r1, argo-cd-2.9 (Wolfi) to 2.9.3-r1, argo-cd-2.9-compat (Chainguard) to 2.9.3-r1, argo-cd-2.9-compat (Wolfi) to 2.9.3-r1, argo-cd-2.9-repo-server (Chainguard) to 2.9.3-r1, and argo-cd-2.9-repo-server (Wolfi) to 2.9.3-r1; apply equivalent updates to GNU Binutils in all environments.
How to confirm the fix worked
Confirm installed package versions meet or exceed the listed fixed releases; attempt parsing of known trigger ELF samples in a controlled environment to verify absence of crashes.
Typical attack path
- Craft a malicious ELF file designed to trigger parse_die heap over-read
- Deliver the file to a system running vulnerable binutils or dependent applications
- Induce the target application to parse the ELF file
- Trigger denial of service via crash or attempt further unspecified impact
How to detect it
Examine application and system logs for segmentation faults or crashes occurring during ELF file processing that involve libbfd or dwarf parsing functions; review build logs for unexpected file handling around ELF artifacts.
What your security team should do
- Prioritize upgrading all listed Argo CD components to the specified fixed versions
- Audit build and analysis pipelines for any remaining use of vulnerable binutils
- Review dependency graphs for downstream packages that embed the affected library
The record
dwarf1.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, mishandles pointers, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted ELF file, related to parse_die and parse_line_table, as demonstrated by a parse_die heap-based buffer over-read.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | binutils | 0 | 2.29.90.20180122-1 |
| Debian:11 | binutils | 0 | 2.29.90.20180122-1 |
| Debian:12 | binutils | 0 | 2.29.90.20180122-1 |
| Debian:13 | binutils | 0 | 2.29.90.20180122-1 |
| Mageia:6 | binutils | 0 | 2.32-1.1.mga6 |
| Ubuntu:18.04:LTS | binutils | 0 | 2.30-21ubuntu1~18.04.1 |
| Ubuntu:Pro:14.04:LTS | binutils | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | binutils | 0 | 2.26.1-1ubuntu1~16.04.8+esm1 |
Related vulnerabilities
- CVE-2021-3826 Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty… Also affects binutils
- CVE-2022-38533 In GNU Binutils before 2.40, there is a heap-buffer-overflow in the error function… Also affects binutils
- CVE-2017-17122 The dump_relocs_in_section function in objdump.c in GNU Binutils 2.29.1 does not check… Also affects binutils
- CVE-2017-17123 The coff_slurp_reloc_table function in coffcode.h in the Binary File Descriptor (BFD)… Also affects binutils
- CVE-2017-17124 The _bfd_coff_read_string_table function in coffgen.c in the Binary File Descriptor (BFD)… Also affects binutils
- CVE-2017-17125 nm.c and objdump.c in GNU Binutils 2.29.1 mishandle certain global symbols, which allows… Also affects binutils
- CVE-2017-17126 The load_debug_section function in readelf.c in GNU Binutils 2.29.1 allows remote… Also affects binutils
- CVE-2017-17121 The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils… Also affects binutils