Out-of-bounds Write Affecting binutils package, versions [0,]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (36th 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-2368412
  • published26 Jan 2022
  • disclosed29 Apr 2018
  • creditUnknown

Introduced: 29 Apr 2018

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

How to fix?

There is no fixed version for binutils.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

CVSS Scores

version 3.1