Cloudanix VulnDB

CVE-2017-15023

Medium · 5.5

CVSS

5.5

EPSS

2.1%

Published

Oct 5, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in certain tools that examine binary files can make those tools stop working if they are given a specially prepared file.

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

Improper validation of format count in read_formatted_entries within dwarf2.c of libbfd leads to a NULL pointer dereference and application crash when processing a malformed ELF file.

Why it matters to the business

Processing of untrusted binary files with affected tools can trigger unexpected crashes, disrupting build, debug, or analysis workflows that depend on binutils components.

How an attack unfolds

An attacker crafts an ELF file containing an invalid format count value that triggers the dereference path in concat_filename handling; the file is then supplied to a victim who invokes an affected binary-analysis utility, causing the crash.

How to fix it

Upgrade confluent-docker-utils (Chainguard) and confluent-docker-utils (Wolfi) to version 0.0.82-r1 or later; rebuild any dependent containers or images to incorporate the patched library.

How to confirm the fix worked

Confirm installed package versions match or exceed the fixed releases; attempt to process a test ELF file known to trigger the original crash path and verify the application no longer terminates.

Typical attack path

  1. Craft a minimal ELF file with an invalid format count field
  2. Deliver the file through email, download, or shared storage
  3. Victim executes a tool linked against the vulnerable libbfd on the file
  4. Application dereferences NULL and terminates

How to detect it

Review application and system logs for segmentation faults or abrupt terminations while processing ELF files; correlate crash timestamps with user-initiated binary analysis activity.

What your security team should do

  • Apply the listed package upgrades across all build and CI environments
  • Scan container images for older versions of confluent-docker-utils
  • Add binary-file parsing to the list of untrusted inputs requiring sandboxing or validation

The record

read_formatted_entries in dwarf2.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, does not properly validate the format count, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted ELF file, related to concat_filename.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 binutils 0 2.29.90.20180122-1
Debian:11 binutils 0 2.29.90.20180122-1
Debian:12 binutils 0 2.29.90.20180122-1
Debian:13 binutils 0 2.29.90.20180122-1
Mageia:6 binutils 0 2.32-1.1.mga6
Ubuntu:18.04:LTS binutils 0 2.30-21ubuntu1~18.04.1

Related vulnerabilities