CVE-2017-7226
binutils: Heap-based buffer over-read in pe_ILF_object_p function in libbfd
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (low), Ubuntu (low).
Description
The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to a heap-based buffer over-read of size 4049 because it uses the strlen function instead of strnlen, leading to program crashes in several utilities such as addr2line, size, and strings. It could lead to information disclosure as well.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 3.0 | crash | 8.0.2-1.ph3 |
| Photon OS 4.0 | crash, crash-devel | 8.0.2-1.ph4 |
| debian 11 | binutils | 2.27.51.20161212-1 |
| debian 12 | binutils | 2.27.51.20161212-1 |
| debian 13 | binutils | 2.27.51.20161212-1 |
| debian 14 | binutils | 2.27.51.20161212-1 |
| debian 7 | binutils | no fix listed |
| debian 8 | binutils | no fix listed |
| echo | binutils | 2.27.51.20161212-1 |
| Red Hat | binutils, binutils-devel | no fix listed |
| root.io debian 12 | rootio-binutils | 2.27.51.20161212-1 |
| ubuntu 16.04-ESM | binutils | 2.26.1-1ubuntu1~16.04.8+esm1 |
Show all 14 entries from 12 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 3.0 | crash | 8.0.2-1.ph3 |
| Photon OS 4.0 | crash | 8.0.2-1.ph4 |
| Photon OS 4.0 | crash-devel | 8.0.2-1.ph4 |
| debian 11 | binutils | 2.27.51.20161212-1 |
| debian 12 | binutils | 2.27.51.20161212-1 |
| debian 13 | binutils | 2.27.51.20161212-1 |
| debian 14 | binutils | 2.27.51.20161212-1 |
| debian 7 | binutils | no fix listed |
| debian 8 | binutils | no fix listed |
| echo | binutils | 2.27.51.20161212-1 |
| Red Hat | binutils | no fix listed |
| Red Hat | binutils-devel | no fix listed |
| root.io debian 12 | rootio-binutils | 2.27.51.20161212-1 |
| ubuntu 16.04-ESM | binutils | 2.26.1-1ubuntu1~16.04.8+esm1 |