Name | CVE-2019-7148 |
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." |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
elfutils (PTS) | jessie, jessie (lts) | 0.159-4.2+deb8u2 | vulnerable |
| stretch (security) | 0.168-1+deb9u1 | vulnerable |
| stretch (lts), stretch | 0.168-1+deb9u2 | vulnerable |
| buster (security), buster, buster (lts) | 0.176-1.1+deb10u1 | fixed |
| bullseye | 0.183-1 | fixed |
| bookworm | 0.188-2.1 | fixed |
| sid, trixie | 0.192-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
elfutils | source | (unstable) | 0.176-1 | unimportant | | |
Notes
https://sourceware.org/bugzilla/show_bug.cgi?id=24085
https://sourceware.org/git/?p=elfutils.git;a=commit;h=e32380ecefbb23448541367283d3b94930762986
malloc can fail on invalid file, but "nothing" bad with security implication will
happen, negligible security impact.