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.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

2 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 37 other repositories (0xT11/CVE-POC, 0xTo/linux-kernel-exploits, Al1ex/LinuxEelvation, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References