Cloudanix VulnDB

CVE-2017-17126

High · 7.8

CVSS

7.8

EPSS

1.7%

Published

Dec 4, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in a common program that inspects executable files can make systems crash or behave unexpectedly when they are given a specially crafted file, so organizations should install the available software updates.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The load_debug_section function in readelf.c performs invalid memory access when parsing an ELF binary that omits section headers, resulting in a crash or potential further memory corruption.

Why it matters to the business

Systems that ship or invoke the affected readelf binary can experience unexpected application crashes during file analysis; because the flaw is years old and present in certain minio container images, organizations must apply the listed package updates to avoid operational disruption and limit exposure to memory-safety issues.

How an attack unfolds

An attacker crafts a minimal ELF file that lacks section headers, then causes a victim to invoke the vulnerable readelf binary on that file; successful exploitation can produce a denial of service or, depending on surrounding memory layout, other unspecified effects.

How to fix it

Upgrade the affected minio packages to the versions that contain the corrected binutils: minio (Chainguard) 0.20231220.010002-r3, minio (Wolfi) 0.20231220.010002-r3, minio-bitnami-2024-compat (Chainguard) 0.20231220.010002-r3, and minio-bitnami-2024-compat (Wolfi) 0.20231220.010002-r3. Rebuild and redeploy any images that embed the older binutils package.

How to confirm the fix worked

Inspect the version string of the installed binutils package inside each minio image and confirm it matches or exceeds the listed fixed releases; additionally run readelf against a test ELF lacking section headers and verify the process no longer crashes.

Typical attack path

  1. Generate an ELF file that contains no section headers
  2. Place or deliver the file to a location reachable by the target process
  3. Trigger execution of the vulnerable readelf binary against the file
  4. Observe crash or attempt to leverage resulting memory state

How to detect it

Review process execution logs and crash reports for invocations of readelf or objdump against ELF files; correlate with file-creation timestamps and look for repeated segmentation faults originating from the binutils readelf binary in affected minio deployments.

What your security team should do

  • Immediately update all listed minio variants to the supplied fixed versions
  • Scan container registries and build pipelines for any remaining images that depend on binutils 2.29.1 or earlier
  • Add package-version checks to CI pipelines to prevent reintroduction of the vulnerable binutils
  • Monitor EPSS and exploit-availability feeds for any future increase in observed usage

The record

The load_debug_section function in readelf.c in GNU Binutils 2.29.1 allows remote attackers to cause a denial of service (invalid memory access and application crash) or possibly have unspecified other impact via an ELF file that lacks section headers.

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

Related vulnerabilities