Cloudanix VulnDB

CVE-2017-15021

Medium · 5.5

CVSS

5.5

EPSS

2.0%

Published

Oct 5, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in tools that read certain binary files can make those tools crash when they open a specially made file, interrupting work until the tools are updated.

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 the BFD library when parsing a crafted ELF file, resulting in application crash.

Why it matters to the business

Build and binary analysis tools that process untrusted ELF files can be forced to crash, interrupting development pipelines and forensic workflows until the affected component is updated.

How an attack unfolds

An attacker crafts a malicious ELF file that triggers the buffer over-read in bfd_get_debug_link_info_1; when a user or automated process opens the file with an affected version of a tool using libbfd, the application crashes.

How to fix it

Upgrade goreleaser-1.18 (Chainguard) and goreleaser-1.18 (Wolfi) to version 1.18.2-r12 or later; rebuild any downstream containers or packages that embed the vulnerable Binutils components.

How to confirm the fix worked

Verify installed package versions match the fixed releases; attempt to process a known-triggering ELF sample in a test environment and confirm no crash occurs.

Typical attack path

  1. Attacker creates a malformed ELF file designed to exercise the vulnerable path in opncls.c.
  2. Victim or automated system processes the file using a tool linked against the vulnerable BFD library.
  3. The over-read occurs, causing immediate denial of service via crash.

How to detect it

Review process crash logs and application fault records around the time untrusted ELF files were processed; look for segmentation faults originating from BFD library functions.

What your security team should do

  • Immediately update all instances of the affected goreleaser packages to the listed fixed versions.
  • Scan build pipelines and CI systems for any direct or transitive use of vulnerable Binutils libraries.
  • Add ELF file sanitization or sandboxing for any remaining unpatched analysis workflows.

The record

bfd_get_debug_link_info_1 in opncls.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted ELF file, related to bfd_getl32.

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