Buffer overflow in GNU Glibc
CVE-2018-1000001
In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.134 (96.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.134 · newest: 0.134 · change: 0.000
Affected products
- GNU Glibc
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.6
- Red Hat Enterprise Linux Workstation — versions 7.0
- Red Hat Virtualization Host — versions 4.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- seclists.org/oss-sec/2018/q1/38 (mailing-list, Mailing List, Third Party Advisory)
- usn.ubuntu.com/3534-1/ (vendor-advisory, Third Party Advisory)
- www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/ (Third Party Advisory)
- www.securityfocus.com/bid/102525 (VDB Entry, Third Party Advisory, vdb-entry)
- www.exploit-db.com/exploits/44889/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- www.exploit-db.com/exploits/43775/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- usn.ubuntu.com/3536-1/ (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0805 (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1040162 (VDB Entry, Third Party Advisory, vdb-entry)
- security.netapp.com/advisory/ntap-20190404-0003/
Frequently asked questions
- What is CVE-2018-1000001?
- CVE-2018-1000001 is a high-severity vulnerability in GNU Glibc, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2018-01-31.
- How severe is CVE-2018-1000001?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2018-1000001 known to be exploited?
- 40 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.