Out-of-bounds Read Affecting binutils package, versions [0,2.33)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (32nd 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-UNMANAGED-BINUTILS-2368464
  • published26 Jan 2022
  • disclosed26 Jun 2019
  • creditUnknown

Introduced: 26 Jun 2019

CVE-2019-12972  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade binutils to version 2.33 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.32. There is a heap-based buffer over-read in _bfd_doprnt in bfd.c because elf_object_p in elfcode.h mishandles an e_shstrndx section of type SHT_GROUP by omitting a trailing '\0' character.

References

CVSS Scores

version 3.1