Cloudanix VulnDB

CVE-2017-9043

High · 7.8

CVSS

7.8

EPSS

2.1%

Published

May 18, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in a common tool that reads program files can make the tool crash or behave unexpectedly when given a specially made file, so updating the affected software removes the problem.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper input validation in ELF parsing allows a crafted file to trigger a shift exponent error in readelf, leading to application crash or potential further memory corruption.

Why it matters to the business

Organizations using affected packages risk service disruption or compromise when processing untrusted ELF binaries; low exploit prevalence reduces urgency but patching remains necessary for any ELF-handling workflows.

How an attack unfolds

An attacker crafts a malicious ELF file containing an oversized shift value, then supplies it to any affected tool or process that invokes the vulnerable readelf logic; successful parsing triggers the flaw, potentially crashing the application or enabling further impact.

How to fix it

Upgrade all affected packages to the listed fixed versions: wavefront-proxy (Chainguard) 13.4-r4, wavefront-proxy (Wolfi) 13.4-r4, wavefront-proxy-compat (Chainguard) 13.4-r4, wavefront-proxy-compat (Wolfi) 13.4-r4, wavefront-proxy-config (Chainguard) 13.4-r4, wavefront-proxy-config (Wolfi) 13.4-r4, wavefront-proxy-licenses (Chainguard) 13.4-r4, wavefront-proxy-licenses (Wolfi) 13.4-r4. Rebuild or redeploy containers after upgrade.

How to confirm the fix worked

Verify installed package versions match or exceed the fixed releases; test by attempting to parse a known-malformed ELF sample in a controlled environment and confirm no crash occurs.

Typical attack path

  1. Obtain or create a malformed ELF file with invalid shift exponent
  2. Deliver the file to a target system or process that uses the vulnerable Binutils library
  3. Trigger parsing via readelf or dependent tooling
  4. Cause denial of service or attempt to leverage memory corruption for further access

How to detect it

Review process execution logs and file access records for unexpected invocations of readelf or dependent tools on external or untrusted ELF files; monitor for application crashes or segmentation faults during ELF parsing.

What your security team should do

  • Apply the specified package upgrades immediately in all environments that process ELF files
  • Scan build pipelines and container images for older versions of the affected packages
  • Restrict processing of untrusted ELF binaries until patches are deployed

The record

readelf.c in GNU Binutils 2017-04-12 has a "shift exponent too large for type unsigned long" issue, which might allow remote attackers to cause a denial of service (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-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

Related vulnerabilities