Cloudanix VulnDB

CVE-2017-17123

Medium · 5.5

CVSS

5.5

EPSS

1.6%

Published

Dec 4, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in file processing tools can cause them to crash when opening certain specially made files, potentially interrupting work that depends 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 vulnerability is a NULL pointer dereference in the coff_slurp_reloc_table function of the BFD library, triggered by processing a specially crafted COFF file, resulting in an application crash.

Why it matters to the business

Tools relying on the vulnerable Binutils library may crash when processing malicious files, leading to denial of service and potential disruption in build or analysis workflows. Updates are required in affected packages like src-fingerprint to maintain operational stability.

How an attack unfolds

An attacker creates a malformed COFF file and delivers it to a target system where it is processed by an application using the vulnerable libbfd, causing the crash.

How to fix it

Update src-fingerprint (Chainguard) to 0.19.0-r10 or later and src-fingerprint (Wolfi) to 0.19.0-r10 or later. Rebuild or replace any affected binaries that depend on vulnerable versions of GNU Binutils.

How to confirm the fix worked

Verify installed package versions meet or exceed the fixed releases. Test processing of known malicious COFF samples to confirm absence of crashes.

Typical attack path

  1. Craft a malicious COFF file exploiting the NULL dereference
  2. Deliver the file to the victim via email, download, or shared storage
  3. Victim opens or processes the file with a vulnerable tool or library
  4. Application crashes due to the dereference

How to detect it

Review system logs and crash reports for application failures involving the BFD library or Binutils when handling COFF files. Correlate file access timestamps with crash events.

What your security team should do

  • Prioritize updating affected packages to the specified fixed versions immediately
  • Inventory and scan environments for instances of vulnerable Binutils
  • Establish automated checks for library versions in build pipelines

The record

The coff_slurp_reloc_table function in coffcode.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29.1, allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted COFF based file.

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