Out-of-bounds Write Affecting binutils-devel package, versions <0:2.27-34.base.el7


Severity

Recommended
0.0
low
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.08% (35th 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-CENTOS7-BINUTILSDEVEL-2107362
  • published26 Jul 2021
  • disclosed24 Apr 2018

Introduced: 24 Apr 2018

CVE-2018-10534  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Centos:7 binutils-devel to version 0:2.27-34.base.el7 or higher.

NVD Description

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

The _bfd_XX_bfd_copy_private_bfd_data_common function in peXXigen.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, processes a negative Data Directory size with an unbounded loop that increases the value of (external_IMAGE_DEBUG_DIRECTORY) *edd so that the address exceeds its own memory region, resulting in an out-of-bounds memory write, as demonstrated by objcopy copying private info with _bfd_pex64_bfd_copy_private_bfd_data_common in pex64igen.c.