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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2018-10534 from the MITRE CVE dictionary dictionary and NIST NVD.
CVSS3 Base Score | 2.8 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
Attack Vector | Local |
Attack Complexity | Low |
Privileges Required | Low |
User Interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity Impact | None |
Availability Impact | Low |
Platform | Errata | Release Date |
---|---|---|
Red Hat Enterprise Linux 7 (binutils) | RHSA-2018:3032 | 2018-10-30 |
Platform | Package | State |
---|---|---|
Red Hat Enterprise Linux 6 | binutils | Not affected |
Red Hat Enterprise Linux 5 | binutils220 | Not affected |
Red Hat Enterprise Linux 5 | binutils | Not affected |