Cloudanix VulnDB

CVE-2017-9042

High · 7.8

CVSS

7.8

EPSS

2.1%

Published

May 18, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in a program that reads certain file types could let someone crash it by supplying a specially made file, potentially interrupting related services until updated.

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

What it actually does

Improper input validation in readelf.c allows a crafted ELF file to trigger a 'cannot be represented in type long' error, leading to application crash or unspecified other impact.

Why it matters to the business

Processing of untrusted ELF files can cause crashes in affected tools or dependent services, resulting in operational disruption; the issue is old with stable low exploit probability and no known ransomware use, but organizations using the listed package should prioritize patching to avoid potential exposure.

How an attack unfolds

An attacker creates a specially crafted ELF file that triggers the type representation error in readelf; the file is then presented to a victim system where readelf is invoked (either directly or via a dependent process like istio-pilot-agent), causing denial of service or further impact. No named threat actors or campaigns are associated.

How to fix it

Upgrade istio-pilot-agent-1.19 (Chainguard) to version 1.19.8-r1 or later; rebuild or redeploy any dependent images incorporating the fixed package.

How to confirm the fix worked

Verify package version after upgrade matches the fixed release; test readelf against known malformed ELF samples to confirm no crash occurs.

Typical attack path

  1. Craft malicious ELF file exploiting the type representation flaw
  2. Deliver the file to the target environment via local access or user interaction
  3. Trick user or process into invoking readelf on the file
  4. Trigger crash or unspecified impact on the application

How to detect it

Review application logs for readelf crashes or error messages referencing type representation issues when processing ELF files; examine process execution history for unexpected readelf invocations on untrusted files. No ransomware or KEV exploitation indicators apply.

What your security team should do

  • Apply the listed fixed version immediately to all instances of the affected package
  • Scan container images and build pipelines for the vulnerable version
  • Monitor for any new exploit maturity signals given the stable low EPSS

The record

readelf.c in GNU Binutils 2017-04-12 has a "cannot be represented in type 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
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