CVE-2017-17125
High · 7.8CVSS
7.8
EPSS
1.8%
Published
Dec 4, 2017
CISA due date
—
Cloudanix analysis
A flaw in tools that read program files could let attackers crash analysis or build software by sending a specially made file, potentially interrupting development and deployment work until fixed versions are installed.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer over-read in _bfd_elf_get_symbol_version_string when processing crafted ELF files with mishandled global symbols, leading to application crash or potential further unspecified impact.
Why it matters to the business
Disruption to build pipelines, binary analysis workflows, and software supply chain tools that depend on Binutils utilities, with elevated urgency for organizations using affected Argo CD versions due to downstream package prevalence.
How an attack unfolds
An attacker crafts a malicious ELF file containing specially malformed global symbols, then tricks a user or automated process into running nm or objdump against it, triggering the buffer over-read.
How to fix it
Upgrade affected packages to fixed versions: argo-cd-2.8 (Chainguard) to 2.8.4-r4 or later and argo-cd-2.8 (Wolfi) to 2.8.4-r4 or later; rebuild containers and verify no older Binutils binaries remain in images.
How to confirm the fix worked
Confirm package versions match or exceed the listed fixed releases, run regression tests with known crashing ELF samples, and verify absence of vulnerable nm/objdump binaries in runtime images.
Typical attack path
- Craft malicious ELF file with malformed global symbols
- Deliver file via supply chain, email, or repository
- Victim or CI/CD process invokes nm or objdump on the file
- Trigger _bfd_elf_get_symbol_version_string over-read and crash
How to detect it
Review process execution logs for nm or objdump invocations on untrusted ELF files, inspect crash dumps or core files referencing _bfd_elf_get_symbol_version_string, and search application or container logs for segmentation faults during binary inspection.
- process name: nm
- process name: objdump
- crash signature: _bfd_elf_get_symbol_version_string
What your security team should do
- Immediately upgrade Argo CD deployments to the specified fixed package versions
- Scan all container images for vulnerable Binutils versions and rebuild as needed
- Add ELF file validation or sandboxing for nm/objdump usage in CI/CD pipelines
- Monitor EPSS trend and exploit availability for any increase in observed activity
The record
nm.c and objdump.c in GNU Binutils 2.29.1 mishandle certain global symbols, which allows remote attackers to cause a denial of service (_bfd_elf_get_symbol_version_string buffer over-read and application crash) or possibly have unspecified other impact via a crafted ELF file.
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 |
| 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-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
- CVE-2017-17080 elf.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU… Also affects binutils