CVE-2019-7148 An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial...
MediumCVSS 6.5
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a "warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens."
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/elfutils(Debian:12) | < 0.176-1 | 0.176-1 |
| debian/elfutils(Debian:13) | < 0.176-1 | 0.176-1 |
| debian/elfutils(Debian:14) | < 0.176-1 | 0.176-1 |
| elfutils project elfutils | = 0.174 | No fix listed |
| alpine/elfutils(Alpine:v3.12) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.13) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.14) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.15) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.16) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.17) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.18) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.19) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.20) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.21) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.22) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.23) | < 0.176-r0 | 0.176-r0 |
| alpine/elfutils(Alpine:v3.24) | < 0.176-r0 | 0.176-r0 |
References
- Debian Security Tracker CVE-2019-7148 vendor-advisory
- sourceware.org exploit issue-tracking third-party-advisory
- security.alpinelinux.org vendor-advisory