CVE-2017-9044
Medium · 5.5CVSS
5.5
EPSS
1.6%
Published
May 18, 2017
CISA due date
—
Cloudanix analysis
A tool that inspects program files can be made to crash by feeding it a specially prepared file, which may briefly interrupt software checks or container startup tasks.
- 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
The flaw triggers an invalid memory read and segmentation fault inside the print_symbol_for_build_attribute function of readelf when it parses a maliciously constructed ELF file, resulting in a crash.
Why it matters to the business
Crashes in ELF-processing utilities can interrupt build pipelines, debugging workflows, and container initialization tasks that rely on the affected packages, though the issue's age and low exploitation probability limit operational urgency.
How an attack unfolds
An attacker creates a crafted ELF binary and causes the vulnerable readelf implementation to open and parse it, leading to an invalid memory access and denial of service; no named threat actors or ransomware campaigns have been observed exploiting this issue.
How to fix it
Upgrade each affected package to the listed fixed version: cilium-1.15 (Chainguard/Wolfi) 1.15.5-r1, cilium-1.15-container-init (Chainguard/Wolfi) 1.15.5-r1, cilium-1.15-container-init-compat (Chainguard/Wolfi) 1.15.5-r1, cilium-1.15-hubble-relay (Chainguard/Wolfi) 1.15.5-r1, cilium-1.15-iptables (Chainguard/Wolfi) 1.15.5-r1, cilium-1.15-operator-generic (Chainguard/Wolfi) 1.15.5-r1, and cilium-1.15-operator-aws (Chainguard/Wolfi) 1.15.5-r1.
How to confirm the fix worked
Confirm installed package versions match or exceed the fixed releases above and test that readelf no longer crashes on the previously triggering ELF samples.
Typical attack path
- Construct a malformed ELF file that reaches the print_symbol_for_build_attribute code path
- Supply the file to readelf (directly or via a dependent tool in an affected package)
- Trigger the invalid read, producing a segmentation fault and process termination
How to detect it
Examine process logs and crash dumps for segmentation faults occurring inside readelf or binutils utilities when handling ELF files; no public indicators of prior exploitation exist.
What your security team should do
- Apply the 1.15.5-r1 updates to all listed Cilium packages at the earliest maintenance window
- Review any internal workflows that invoke readelf or binutils on untrusted ELF files and isolate them until patched
- Monitor EPSS and KEV updates for any future increase in exploitation likelihood
The record
The print_symbol_for_build_attribute function in readelf.c in GNU Binutils 2017-04-12 allows remote attackers to cause a denial of service (invalid read and SEGV) via a crafted ELF file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | binutils | 0 | 2.29-1 |
| Debian:11 | binutils | 0 | 2.29-1 |
| Debian:12 | binutils | 0 | 2.29-1 |
| Debian:13 | binutils | 0 | 2.29-1 |
| Mageia:6 | binutils | 0 | 2.32-1.1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP2 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Desktop 12 SP3 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Server 12 SP2 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Server 12 SP3 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | cross-ppc-binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | cross-spu-binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | cross-ppc-binutils | 0 | 2.29.1-9.20.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | cross-spu-binutils | 0 | 2.29.1-9.20.2 |
| 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