CVE-2016-5034
published 2017-02-17CVE-2016-5034: dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted file, related to…
PriorityP427medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
2.93%
85.6th percentile
dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted file, related to relocation records.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | dwarfutils | < dwarfutils 20160507+git20160523.9086738-1 (bookworm) | dwarfutils 20160507+git20160523.9086738-1 (bookworm) |
| libdwarf_project | libdwarf | >= 1999-12-14 < 2016-09-23 | 2016-09-23 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/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
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.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.
Red Hat
libdwarf: Out-of-bounds write in dwarf_elf_access.c
vendor_redhat·2016-05-17·CVSS 6.5
CVE-2016-5034 [MEDIUM] CWE-787 libdwarf: Out-of-bounds write in dwarf_elf_access.c
libdwarf: Out-of-bounds write in dwarf_elf_access.c
dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted file, related to relocation records.
Package: libdwarf (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2016-5034: dwarfutils - dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause ...
vendor_debian·2016·CVSS 6.5
CVE-2016-5034 [MEDIUM] CVE-2016-5034: dwarfutils - dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause ...
dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted file, related to relocation records.
Scope: local
bookworm: resolved (fixed in 20160507+git20160523.9086738-1)
bullseye: resolved (fixed in 20160507+git20160523.9086738-1)
forky: resolved (fixed in 20160507+git20160523.9086738-1)
sid: resolved (fixed in 20160507+git20160523.9086738-1)
trixie: resolved (fixed in 20160507+git20160523.9086738-1)
GHSA
GHSA-fp6w-c38v-f2mx: dwarf_elf_access
ghsa_unreviewed·2022-05-13
CVE-2016-5034 [MEDIUM] CWE-787 GHSA-fp6w-c38v-f2mx: dwarf_elf_access
dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted file, related to relocation records.
OSV
CVE-2016-5034: dwarf_elf_access
osv·2017-02-17·CVSS 6.5
CVE-2016-5034 [MEDIUM] CVE-2016-5034: dwarf_elf_access
dwarf_elf_access.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted file, related to relocation records.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5028 CVE-2016-5029 CVE-2016-5030 CVE-2016-5031 CVE-2016-5032 CVE-2016-5033 CVE-2016-5034 CVE-2016-5035 CVE-2016-5036 CVE-2016-5038 libdwarf: various flaws [epel-6]
bugzilla·2016-05-26·CVSS 6.5
CVE-2016-5028 [MEDIUM] CVE-2016-5028 CVE-2016-5029 CVE-2016-5030 CVE-2016-5031 CVE-2016-5032 CVE-2016-5033 CVE-2016-5034 CVE-2016-5035 CVE-2016-5036 CVE-2016-5038 libdwarf: various flaws [epel-6]
CVE-2016-5028 CVE-2016-5029 CVE-2016-5030 CVE-2016-5031 CVE-2016-5032 CVE-2016-5033 CVE-2016-5034 CVE-2016-5035 CVE-2016-5036 CVE-2016-5038 libdwarf: various flaws [epel-6]
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 EPEL.
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 RP
Bugzilla
CVE-2016-5028 CVE-2016-5029 CVE-2016-5030 CVE-2016-5031 CVE-2016-5032 CVE-2016-5033 CVE-2016-5034 CVE-2016-5035 CVE-2016-5036 CVE-2016-5038 libdwarf: various flaws [fedora-all]
bugzilla·2016-05-26·CVSS 6.5
CVE-2016-5028 [MEDIUM] CVE-2016-5028 CVE-2016-5029 CVE-2016-5030 CVE-2016-5031 CVE-2016-5032 CVE-2016-5033 CVE-2016-5034 CVE-2016-5035 CVE-2016-5036 CVE-2016-5038 libdwarf: various flaws [fedora-all]
CVE-2016-5028 CVE-2016-5029 CVE-2016-5030 CVE-2016-5031 CVE-2016-5032 CVE-2016-5033 CVE-2016-5034 CVE-2016-5035 CVE-2016-5036 CVE-2016-5038 libdwarf: various flaws [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.
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
Bugzilla
CVE-2016-5034 libdwarf: Out-of-bounds write in dwarf_elf_access.c
bugzilla·2016-05-26·CVSS 6.5
CVE-2016-5034 [MEDIUM] CVE-2016-5034 libdwarf: Out-of-bounds write in dwarf_elf_access.c
CVE-2016-5034 libdwarf: Out-of-bounds write in dwarf_elf_access.c
An out-of-bounds write was found in libdwarf. Test object shows an invalid write in dwarf_elf_access.c (when doing the relocations). Adding the relocation value to anything overflowed and disguised the bad relocation record. With a 32bit kernel build the test could show a double-free and coredump due to the unchecked invalid writes from relocations.
References:
http://seclists.org/oss-sec/2016/q2/393
External references:
https://www.prevanders.net/dwarfbug.html
Upstream fix:
https://sourceforge.net/p/libdwarf/code/ci/10ca310f64368dc083efacac87732c02ef560a92
Discussion:
Created libdwarf tracking bugs for this issue:
Affects: fedora-all [bug 1340128]
Affects: epel-6 [bug 1340129]
http://www.openwall.com/lists/oss-security/2016/05/24/1http://www.openwall.com/lists/oss-security/2016/05/25/1https://www.prevanders.net/dwarfbug.htmlhttp://www.openwall.com/lists/oss-security/2016/05/24/1http://www.openwall.com/lists/oss-security/2016/05/25/1https://www.prevanders.net/dwarfbug.html
2017-02-17
Published