Out-of-bounds Read Affecting binutils package, versions <2.27.51.20161220-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN9-BINUTILS-403670
  • published29 Mar 2017
  • disclosed29 Mar 2017

Introduced: 29 Mar 2017

CVE-2017-7299  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:9 binutils to version 2.27.51.20161220-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream binutils package and not the binutils package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, has an invalid read (of size 8) because the code to emit relocs (bfd_elf_final_link function in bfd/elflink.c) does not check the format of the input file before trying to read the ELF reloc section header. The vulnerability leads to a GNU linker (ld) program crash.