Cloudanix VulnDB

CVE-2017-13757

Medium · 5.5

CVSS

5.5

EPSS

1.5%

Published

Aug 29, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a widely used file-handling library can make certain developer tools crash when they open a specially crafted program 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

The BFD library fails to validate PLT section size in ELF files, resulting in a heap-based buffer over-read that crashes the application.

Why it matters to the business

Processing of untrusted ELF files can trigger crashes in analysis or build tools, interrupting development workflows and requiring manual intervention or restarts.

How an attack unfolds

An attacker crafts a malicious ELF file with an oversized or malformed PLT section and supplies it to a victim who opens or analyzes the file using an affected binary utility or dependent tool such as golangci-lint.

How to fix it

Upgrade golangci-lint (Chainguard) to 1.56.2-r1 or later and golangci-lint (Wolfi) to 1.56.2-r1 or later; rebuild any containers or packages that embed the vulnerable libbfd.

How to confirm the fix worked

Confirm the updated package versions are installed, then test that the tool no longer crashes when processing the original proof-of-concept ELF file.

Typical attack path

  1. Create a malformed ELF file that triggers invalid PLT sizing
  2. Deliver the file to a target environment or user
  3. Induce the victim application or tool to parse the ELF file
  4. Trigger the over-read condition leading to denial of service

How to detect it

Review application or container logs for unexpected crashes during ELF processing; correlate with file uploads or analysis jobs involving unknown ELF binaries.

What your security team should do

  • Prioritize patching golangci-lint instances in CI/CD pipelines within standard maintenance windows
  • Scan artifact repositories and build images for the vulnerable package versions
  • Add ELF file validation or sandboxing for tools that process untrusted binaries

The record

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, does not validate the PLT section size, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted ELF file, related to elf_i386_get_synthetic_symtab in elf32-i386.c and elf_x86_64_get_synthetic_symtab in elf64-x86-64.c.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 binutils 0 2.29-10
Debian:12 binutils 0 2.29-10
Debian:13 binutils 0 2.29-10
Mageia:6 binutils 0 2.32-1.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Desktop 12 SP3 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Server 12 SP2 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Server 12 SP3 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 cross-ppc-binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 cross-spu-binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Software Development Kit 12 SP3 binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Software Development Kit 12 SP3 cross-ppc-binutils 0 2.29.1-9.20.2
SUSE:Linux Enterprise Software Development Kit 12 SP3 cross-spu-binutils 0 2.29.1-9.20.2
openSUSE:Tumbleweed binutils 0 2.37-1.3

Related vulnerabilities