CVE-2018-1000001

glibc: realpath() buffer underflow when getcwd() returns relative path allows privilege escalation

Published Jan 31, 2018 CVSS 3.0 · 7.8 High EPSS 13.4% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-3534-1 GNU C Library vulnerabilities
Ubuntu USN Ubuntu USN USN-3536-1 GNU C Library vulnerability
Ubuntu USN Ubuntu USN USN-4768-1 musl vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.45557}

epss

{'score': 0.47736}