Out-of-bounds Write Affecting cross-hppa-binutils package, versions <2.31-6.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server 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-SLES150-CROSSHPPABINUTILS-2761118
  • published14 Apr 2022
  • disclosed26 Oct 2018

Introduced: 26 Oct 2018

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

How to fix?

Upgrade SLES:15.0 cross-hppa-binutils to version 2.31-6.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cross-hppa-binutils package and not the cross-hppa-binutils package as distributed by SLES. See How to fix? for SLES:15.0 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.