Cloudanix VulnDB

CVE-2017-17080

Medium · 5.5

CVSS

5.5

EPSS

1.3%

Published

Nov 30, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in software that reads certain binary files can cause programs to crash when they encounter specially crafted files, potentially disrupting analysis or build tasks.

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

Missing size validation on core notes in ELF files leads to a heap-based buffer over-read in bfd_getl32 during processing of netbsd, openbsd, or nto procinfo/status sections, resulting in application crash.

Why it matters to the business

Processing untrusted or attacker-supplied binaries with affected tools can trigger crashes, interrupting build pipelines, reverse-engineering workflows, and automated binary analysis across development and security tooling.

How an attack unfolds

An attacker creates a malformed ELF object file containing oversized or invalid core note sections and supplies it to a victim who opens or analyzes the file using vulnerable Binutils-based utilities, triggering the over-read and denial of service.

How to fix it

Upgrade to fixed package versions such as gomplate-fips 3.11.7-r1 or later; rebuild any downstream images against a patched Binutils; avoid processing untrusted ELF files until updated.

How to confirm the fix worked

Confirm the installed Binutils or dependent package reports a version containing the size-validation fix; re-test with known-malformed ELF samples to verify absence of crash.

Typical attack path

  1. Craft a malicious ELF file with invalid core note sizes
  2. Deliver the file via download, repository, or shared storage
  3. Victim invokes a vulnerable tool (objdump, readelf, etc.) on the file
  4. bfd library performs unchecked read causing heap over-read and crash

How to detect it

Review application and system logs for segmentation faults or crashes in objdump, readelf, or other binutils utilities when processing ELF files; correlate with file-creation or download events preceding the crash.

What your security team should do

  • Apply the listed fixed package versions immediately in all build and analysis environments
  • Add binary-file sanitization or sandboxing for any workflow that ingests external ELF objects
  • Monitor for application crashes in binutils utilities and investigate unexpected terminations

The record

elf.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29.1, does not validate sizes of core notes, which allows remote attackers to cause a denial of service (bfd_getl32 heap-based buffer over-read and application crash) via a crafted object file, related to elfcore_grok_netbsd_procinfo, elfcore_grok_openbsd_procinfo, and elfcore_grok_nto_status.

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
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