Vulnerability Description
An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Elfutils Project | Elfutils | <= 0.174 |
| Debian | Debian Linux | 8.0 |
| Canonical | Ubuntu Linux | 16.04 |
| Opensuse | Leap | 15.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.htmlMailing ListThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2197Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00036.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00030.htmlMailing ListThird Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=23787ExploitIssue TrackingThird Party Advisory
- https://sourceware.org/ml/elfutils-devel/2018-q4/msg00057.htmlMailing ListPatchThird Party Advisory
- https://usn.ubuntu.com/4012-1/Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.htmlMailing ListThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2197Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00036.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00030.htmlMailing ListThird Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=23787ExploitIssue TrackingThird Party Advisory
- https://sourceware.org/ml/elfutils-devel/2018-q4/msg00057.htmlMailing ListPatchThird Party Advisory
- https://usn.ubuntu.com/4012-1/Third Party Advisory
FAQ
What is CVE-2018-18520?
CVE-2018-18520 is a vulnerability with a CVSS score of 6.5 (MEDIUM). An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes ...
How severe is CVE-2018-18520?
CVE-2018-18520 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-18520?
Check the references section above for vendor advisories and patch information. Affected products include: Elfutils Project Elfutils, Debian Debian Linux, Canonical Ubuntu Linux, Opensuse Leap, Redhat Enterprise Linux Desktop.