Vulnerability Details : CVE-2018-18520
Potential exploit
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.
Vulnerability category: OverflowDenial of service
Products affected by CVE-2018-18520
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
- cpe:2.3:a:elfutils_project:elfutils:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-18520
0.27%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-18520
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2018-18520
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-18520
-
https://access.redhat.com/errata/RHSA-2019:2197
RHSA-2019:2197 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.html
[security-announce] openSUSE-SU-2019:1590-1: moderate: Security update fMailing List;Third Party Advisory
-
https://sourceware.org/ml/elfutils-devel/2018-q4/msg00057.html
Mark Wielaard - [PATCH] size: Handle recursive ELF ar files.Mailing List;Patch;Third Party Advisory
-
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
23787 – eu-size: Bad handling of ar files inside are filesExploit;Issue Tracking;Third Party Advisory
-
https://usn.ubuntu.com/4012-1/
USN-4012-1: elfutils vulnerabilities | Ubuntu security noticesThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/02/msg00036.html
[SECURITY] [DLA 1689-1] elfutils security updateMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/10/msg00030.html
[SECURITY] [DLA 2802-1] elfutils security updateMailing List;Third Party Advisory
Jump to