Cloudanix VulnDB

CVE-2017-7608

Medium · 5.5

CVSS

5.5

EPSS

2.1%

Published

Apr 9, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in an older Linux tool that reads program files can make the tool crash when it opens a specially prepared file.

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

What it actually does

Heap-based buffer over-read in ebl_object_note_type_name when parsing note sections of a malformed ELF binary, resulting in application crash.

Why it matters to the business

Systems that inspect or build ELF binaries on older Linux distributions may experience unexpected crashes when processing untrusted files, interrupting development, packaging, or debugging workflows; the issue is long-public and not under active exploitation campaigns.

How an attack unfolds

An attacker prepares a specially crafted ELF file containing an invalid note section, then supplies the file to any affected elfutils-based tool or library on the victim system; the over-read occurs during note-type name resolution and terminates the process.

How to fix it

Upgrade elfutils to a version released after 0.168 that contains the fix for the note-parsing routine; rebuild or reinstall dependent packages on Debian and Ubuntu systems; replace any locally built copies with current distribution packages.

How to confirm the fix worked

Confirm elfutils version is newer than 0.168 and that the eblobjnotetypename.c changes are present; test with known-good and known-malformed ELF samples to verify no crash occurs.

Typical attack path

  1. Craft malicious ELF file with malformed note section
  2. Deliver file to target via download, package repository, or shared storage
  3. Victim invokes elfutils tool (readelf, eu-readelf, etc.) on the file
  4. Heap over-read triggers application crash

How to detect it

Review process crash logs and core dumps for segmentation faults originating from elfutils note-parsing functions; correlate with file-access events involving ELF binaries from untrusted sources.

What your security team should do

  • Inventory all systems using elfutils 0.168 or earlier and schedule package upgrades
  • Block or sandbox untrusted ELF files from automated analysis pipelines until patched
  • Add elfutils to vulnerability scanning policies with a low-severity threshold given its age

The record

The ebl_object_note_type_name function in eblobjnotetypename.c in elfutils 0.168 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted ELF file.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 elfutils 0 0.168-r1
Alpine:v3.11 elfutils 0 0.168-r1
Alpine:v3.12 elfutils 0 0.168-r1
Alpine:v3.13 elfutils 0 0.168-r1
Alpine:v3.14 elfutils 0 0.168-r1
Alpine:v3.15 elfutils 0 0.168-r1
Alpine:v3.16 elfutils 0 0.168-r1
Alpine:v3.17 elfutils 0 0.168-r1
Alpine:v3.18 elfutils 0 0.168-r1
Alpine:v3.19 elfutils 0 0.168-r1
Alpine:v3.20 elfutils 0 0.168-r1
Alpine:v3.21 elfutils 0 0.168-r1
Alpine:v3.22 elfutils 0 0.168-r1
Alpine:v3.6 elfutils 0 0.168-r1
Alpine:v3.7 elfutils 0 0.168-r1
Alpine:v3.8 elfutils 0 0.168-r1
Alpine:v3.9 elfutils 0 0.168-r1
Debian:11 elfutils 0 0.168-1
Debian:12 elfutils 0 0.168-1
Debian:13 elfutils 0 0.168-1
Debian:8 elfutils 0 0.159-4.2+deb8u1
Mageia:5 elfutils 0 0.169-1.mga5
Mageia:6 elfutils 0 0.176-1.mga6
SUSE:Linux Enterprise Desktop 12 SP3 elfutils 0 0.158-7.7.2
SUSE:Linux Enterprise Desktop 12 SP4 elfutils 0 0.158-7.7.2
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
SUSE:Linux Enterprise Server 12 SP3 elfutils 0 0.158-7.7.2
SUSE:Linux Enterprise Server 12 SP4 elfutils 0 0.158-7.7.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 elfutils 0 0.158-7.7.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 elfutils 0 0.158-7.7.2
SUSE:Linux Enterprise Software Development Kit 12 SP3 elfutils 0 0.158-7.7.2
SUSE:Linux Enterprise Software Development Kit 12 SP4 elfutils 0 0.158-7.7.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