Cloudanix VulnDB

CVE-2017-7611

Medium · 5.5

CVSS

5.5

EPSS

1.8%

Published

Apr 9, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a common library that reads program files can make certain tools crash when they encounter a specially prepared file, briefly interrupting whatever service relies on those tools.

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

The check_symtab_shndx function in elfutils 0.168 performs insufficient bounds checking on symbol table section header indexes from a supplied ELF file, resulting in a heap-based buffer over-read that terminates the application.

Why it matters to the business

Processing of untrusted ELF files can cause abrupt crashes in dependent services, leading to temporary loss of monitoring or alerting functionality with minimal long-term risk given the vulnerability's age and low exploitation probability.

How an attack unfolds

An attacker prepares a malformed ELF binary that triggers the over-read path in check_symtab_shndx, then supplies the file to any process that invokes elfutils parsing routines; the resulting crash produces a denial of service. No named threat actors or ransomware campaigns are associated with this issue.

How to fix it

Upgrade elfutils to a version containing the bounds check fix; for the listed distributions apply prometheus-alertmanager (Chainguard) or prometheus-alertmanager (Wolfi) packages that have reached the fixed state labeled 0. Where direct upgrades are unavailable, isolate ELF processing to non-production environments or replace with unaffected tooling.

How to confirm the fix worked

Confirm the installed elfutils version is newer than 0.168, re-test parsing of known-malformed test cases, and verify that the application no longer crashes on the crafted input.

Typical attack path

  1. Generate a crafted ELF file containing out-of-bounds symtab shndx values
  2. Deliver the file to a system running vulnerable elfutils code
  3. Induce the target application to parse the ELF (for example via build, debug, or inspection tooling)
  4. Trigger the buffer over-read and application termination

How to detect it

Inspect application and system logs for segmentation faults or abrupt terminations occurring during ELF file handling; correlate with file-creation or upload events involving binaries that were later determined to be malformed.

What your security team should do

  • Apply available package updates for elfutils and dependent products immediately
  • Audit any custom or third-party code paths that parse untrusted ELF files
  • Add crash monitoring for ELF-related processes to detect attempted exploitation
  • Review backlog of unpatched systems given the 3494-day publication age and stable low EPSS trend

The record

The check_symtab_shndx function in elflint.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
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