CVE-2018-16062
published 2018-08-29CVE-2018-16062: dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer…
PriorityP424medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.73%
75.1th percentile
dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | elfutils | < elfutils 0.175-1 (bookworm) | elfutils 0.175-1 (bookworm) |
| elfutils_project | elfutils | < 0.174 | 0.174 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.176-1.1ubuntu0.1 | 0.176-1.1ubuntu0.1 |
| elfutils_project | elfutils | >= 0 < 0.158-0ubuntu5.3+esm1 | 0.158-0ubuntu5.3+esm1 |
| elfutils_project | elfutils | >= 0 < 0.165-3ubuntu1.2+esm1 | 0.165-3ubuntu1.2+esm1 |
| elfutils_project | elfutils | >= 0 < 0.170-0.4ubuntu0.1+esm1 | 0.170-0.4ubuntu0.1+esm1 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
elfutils vulnerabilities
vendor_ubuntu·2023-08-30·CVSS 5.5
CVE-2021-33294 [MEDIUM] elfutils vulnerabilities
Title: elfutils vulnerabilities
Summary: Several security issues were fixed in elfutils.
It was discovered that elfutils incorrectly handled certain malformed
files. If a user or automated system were tricked into processing a
specially crafted file, elfutils could be made to crash or consume
resources, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS. (CVE-2018-16062, CVE-2018-16403, CVE-2018-18310,
CVE-2018-18520, CVE-2018-18521, CVE-2019-7149, CVE-2019-7150,
CVE-2019-7665)
It was discovered that elfutils incorrectly handled bounds checks in
certain functions when processing malformed files. If a user or automated
system were tricked into processing a specially crafted file, elfutils
could be made to crash or consume resources, resulting in a denial of
servi
Ubuntu
elfutils vulnerabilities
vendor_ubuntu·2019-06-10
CVE-2018-16062 elfutils vulnerabilities
Title: elfutils vulnerabilities
Summary: Several security issues were fixed in elfutils.
It was discovered that elfutils incorrectly handled certain malformed
files. If a user or automated system were tricked into processing a
specially crafted file, elfutils could be made to crash or consume
resources, resulting in a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file
vendor_redhat·2018-08-17·CVSS 5.5
CVE-2018-16062 [MEDIUM] CWE-125 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file
elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file
dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
An out-of-bounds read was discovered in elfutils in the way it reads DWARF address ranges information. Function dwarf_getaranges() in dwarf_getaranges.c does not properly check whether it reads beyond the limits of the ELF section. An attacker could use this flaw to cause a denial of service via a crafted file.
Package: elfutils (Red Hat Enterprise Linux 5) - Will not fix
Package: elfutils (Red Hat Enterprise Linux 6) - Will not fix
Package: elfutils (Red Hat Enterprise Linux 8) - Not affected
Package: elf
Debian
CVE-2018-16062: elfutils - dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 al...
vendor_debian·2018·CVSS 5.5
CVE-2018-16062 [MEDIUM] CVE-2018-16062: elfutils - dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 al...
dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
Scope: local
bookworm: resolved (fixed in 0.175-1)
bullseye: resolved (fixed in 0.175-1)
forky: resolved (fixed in 0.175-1)
sid: resolved (fixed in 0.175-1)
trixie: resolved (fixed in 0.175-1)
OSV
elfutils vulnerabilities
osv·2023-08-30·CVSS 5.5
CVE-2018-16062 [MEDIUM] elfutils vulnerabilities
elfutils vulnerabilities
It was discovered that elfutils incorrectly handled certain malformed
files. If a user or automated system were tricked into processing a
specially crafted file, elfutils could be made to crash or consume
resources, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS. (CVE-2018-16062, CVE-2018-16403, CVE-2018-18310,
CVE-2018-18520, CVE-2018-18521, CVE-2019-7149, CVE-2019-7150,
CVE-2019-7665)
It was discovered that elfutils incorrectly handled bounds checks in
certain functions when processing malformed files. If a user or automated
system were tricked into processing a specially crafted file, elfutils
could be made to crash or consume resources, resulting in a denial of
service. (CVE-2020-21047, CVE-2021-33294)
GHSA
GHSA-2qwj-j885-gv4x: dwarf_getaranges in dwarf_getaranges
ghsa_unreviewed·2022-05-13
CVE-2018-16062 [MEDIUM] CWE-125 GHSA-2qwj-j885-gv4x: dwarf_getaranges in dwarf_getaranges
dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
OSV
CVE-2018-16062: dwarf_getaranges in dwarf_getaranges
osv·2018-08-29·CVSS 5.5
CVE-2018-16062 [MEDIUM] CVE-2018-16062: dwarf_getaranges in dwarf_getaranges
dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16062 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file
bugzilla·2018-08-30·CVSS 5.5
CVE-2018-16062 [MEDIUM] CVE-2018-16062 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file
CVE-2018-16062 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file
Elfutils is vulnerable to a heap-based buffer over-read in the libdw/dwarf_getaranges.c:dwarf_getaranges() function. An attacker could exploit this to cause a crash in the eu-addr2line command via a crafted file.
Upstream Bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=23541
Upstream Patch:
https://sourceware.org/git/?p=elfutils.git;a=commit;h=29e31978ba51c1051743a503ee325b5ebc03d7e9
Discussion:
Created elfutils tracking bugs for this issue:
Affects: fedora-all [bug 1623753]
---
Reproduced on F28 with elfutils-0.173-1.fc28.x86_64:
# eu-addr2line -e addr2line-buffer-over-flow1 -- 500 50 10 -1000
??:0
==30==ERROR: AddressSanitizer: heap-buffer-overflow on add
Bugzilla
CVE-2018-16062 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file [fedora-all]
bugzilla·2018-08-30·CVSS 5.5
CVE-2018-16062 [MEDIUM] CVE-2018-16062 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file [fedora-all]
CVE-2018-16062 elfutils: Heap-based buffer over-read in libdw/dwarf_getaranges.c:dwarf_getaranges() via crafted file [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.htmlhttps://access.redhat.com/errata/RHSA-2019:2197https://lists.debian.org/debian-lts-announce/2019/02/msg00036.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00030.htmlhttps://sourceware.org/bugzilla/show_bug.cgi?id=23541https://sourceware.org/git/?p=elfutils.git%3Ba=commit%3Bh=29e31978ba51c1051743a503ee325b5ebc03d7e9https://usn.ubuntu.com/4012-1/http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.htmlhttps://access.redhat.com/errata/RHSA-2019:2197https://lists.debian.org/debian-lts-announce/2019/02/msg00036.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00030.htmlhttps://sourceware.org/bugzilla/show_bug.cgi?id=23541https://sourceware.org/git/?p=elfutils.git%3Ba=commit%3Bh=29e31978ba51c1051743a503ee325b5ebc03d7e9https://usn.ubuntu.com/4012-1/
2018-08-29
Published