Cloudanix VulnDB

CVE-2017-7609

Medium · 5.5

CVSS

5.5

EPSS

1.6%

Published

Apr 9, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in a file-handling library can let specially made files cause programs to use up too much memory and stop responding.

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

What it actually does

The library fails to validate the zlib compression factor during ELF file processing, allowing unbounded memory allocation during decompression.

Why it matters to the business

Services that parse untrusted ELF files can experience crashes or resource exhaustion, interrupting monitoring agents and related data collection pipelines; the issue affects widely distributed packages with available updates.

How an attack unfolds

An attacker creates a crafted ELF file containing an extreme or malicious zlib compression factor and supplies it to a vulnerable process or user that invokes the affected elfutils code path, resulting in denial of service through memory consumption.

How to fix it

Upgrade newrelic-nri-statsd on Chainguard and Wolfi to version 2.9.1-r1 or later; rebuild or redeploy any dependent containers after the package update.

How to confirm the fix worked

Confirm installed package versions meet or exceed the fixed releases; attempt to process a known test ELF file that exercises the compression path and verify memory usage remains bounded.

Typical attack path

  1. Craft ELF file with invalid zlib compression factor
  2. Deliver file to target environment via local filesystem or application input
  3. Trigger processing by the vulnerable library (requires local access and user interaction)
  4. Induce excessive memory allocation leading to exhaustion

How to detect it

Review system and application logs for sudden spikes in memory usage during ELF file operations; correlate with process crashes or restarts in affected components.

What your security team should do

  • Apply the listed package updates to reach fixed versions without delay
  • Inventory all uses of elfutils or dependent ELF parsers that accept untrusted input
  • Add resource limits and monitoring around processes that handle ELF files

The record

elf_compress.c in elfutils 0.168 does not validate the zlib compression factor, which allows remote attackers to cause a denial of service (memory consumption) via a crafted ELF file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 elfutils 0 0.168-1
Debian:12 elfutils 0 0.168-1
Debian:13 elfutils 0 0.168-1
Mageia:5 elfutils 0 0.169-1.mga5
Mageia:6 elfutils 0 0.176-1.mga6
SUSE:Linux Enterprise Micro 5.1 dwarves 0 1.22-150300.7.3.1
SUSE:Linux Enterprise Micro 5.1 elfutils 0 0.177-150300.11.3.1
SUSE:Linux Enterprise Micro 5.2 dwarves 0 1.22-150300.7.3.1
SUSE:Linux Enterprise Micro 5.2 elfutils 0 0.177-150300.11.3.1
SUSE:Linux Enterprise Module for Basesystem 15 elfutils 0 0.168-4.5.3
SUSE:Linux Enterprise Module for Basesystem 15 SP1 elfutils 0 0.168-4.5.3
SUSE:Linux Enterprise Module for Basesystem 15 SP3 dwarves 0 1.22-150300.7.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 elfutils 0 0.177-150300.11.3.1
Ubuntu:14.04:LTS elfutils 0 0.158-0ubuntu5.2
Ubuntu:14.04:LTS elfutils 0 0.158-0ubuntu5.3
Ubuntu:16.04:LTS elfutils 0 0.165-3ubuntu1.1
Ubuntu:18.04:LTS elfutils 0 0.170-0.4
openSUSE:Leap 15.0 elfutils 0 0.168-lp151.4.3.1
openSUSE:Leap 15.1 elfutils 0 0.168-lp151.4.3.1
openSUSE:Leap 15.3 dwarves 0 1.22-150300.7.3.1
openSUSE:Leap 15.3 elfutils 0 0.177-150300.11.3.1
openSUSE:Leap Micro 5.2 dwarves 0 1.22-150300.7.3.1
openSUSE:Leap Micro 5.2 elfutils 0 0.177-150300.11.3.1

Related vulnerabilities