CVE-2018-1000001

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://seclists.org/oss-sec/2018/q1/38

http://www.securityfocus.com/bid/102525

http://www.securitytracker.com/id/1040162

https://access.redhat.com/errata/RHSA-2018:0805

https://security.netapp.com/advisory/ntap-20190404-0003/

https://usn.ubuntu.com/3534-1/

https://usn.ubuntu.com/3536-1/

https://www.exploit-db.com/exploits/43775/

https://www.exploit-db.com/exploits/44889/

https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/

Details

Source: MITRE

Published: 2018-01-31

Updated: 2019-10-03

Type: CWE-787

Risk Information

CVSS v2

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH

Tenable Plugins

View all (28 total)

IDNameProductFamilySeverity
147282NewStart CGSL MAIN 6.02 : glibc Multiple Vulnerabilities (NS-SA-2021-0053)NessusNewStart CGSL Local Security Checks
high
127183NewStart CGSL CORE 5.04 / MAIN 5.04 : glibc Multiple Vulnerabilities (NS-SA-2019-0024)NessusNewStart CGSL Local Security Checks
critical
125004EulerOS Virtualization 3.0.1.0 : glibc (EulerOS-SA-2019-1551)NessusHuawei Local Security Checks
high
121923Photon OS 2.0: Glibc PHSA-2018-2.0-0018NessusPhotonOS Local Security Checks
high
121812Photon OS 1.0: Glibc PHSA-2018-1.0-0111NessusPhotonOS Local Security Checks
critical
117548EulerOS Virtualization 2.5.0 : glibc (EulerOS-SA-2018-1239)NessusHuawei Local Security Checks
high
111921Photon OS 1.0: Glibc PHSA-2018-1.0-0111 (deprecated)NessusPhotonOS Local Security Checks
critical
111547SUSE SLES12 Security Update : glibc (SUSE-SU-2018:2187-1)NessusSuSE Local Security Checks
critical
111288Photon OS 2.0 : glibc (PhotonOS-PHSA-2018-2.0-0018) (deprecated)NessusPhotonOS Local Security Checks
high
109699Amazon Linux AMI : glibc (ALAS-2018-1017)NessusAmazon Linux Local Security Checks
critical
109447Scientific Linux Security Update : glibc on SL7.x x86_64 (20180410)NessusScientific Linux Local Security Checks
critical
109371CentOS 7 : glibc (CESA-2018:0805)NessusCentOS Local Security Checks
critical
109105Oracle Linux 7 : glibc (ELSA-2018-0805)NessusOracle Linux Local Security Checks
critical
108985RHEL 7 : glibc (RHSA-2018:0805)NessusRed Hat Local Security Checks
critical
108822GLSA-201804-02 : glibc: Multiple vulnerabilitiesNessusGentoo Local Security Checks
critical
107086SUSE SLES11 Security Update : glibc (SUSE-SU-2018:0565-1)NessusSuSE Local Security Checks
critical
106916openSUSE Security Update : glibc (openSUSE-2018-184)NessusSuSE Local Security Checks
critical
106865SUSE SLED12 / SLES12 Security Update : glibc (SUSE-SU-2018:0451-1)NessusSuSE Local Security Checks
critical
106776EulerOS 2.0 SP2 : glibc (EulerOS-SA-2018-1048)NessusHuawei Local Security Checks
high
106775EulerOS 2.0 SP1 : glibc (EulerOS-SA-2018-1047)NessusHuawei Local Security Checks
high
106281Fedora 26 : glibc (2018-8e27ad96ed)NessusFedora Local Security Checks
critical
106279Fedora 27 : glibc (2018-7714b514e2)NessusFedora Local Security Checks
high
106134Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : eglibc, glibc vulnerabilities (USN-3534-1)NessusUbuntu Local Security Checks
critical
106059openSUSE Security Update : glibc (openSUSE-2018-30)NessusSuSE Local Security Checks
critical
106046SUSE SLES12 Security Update : glibc (SUSE-SU-2018:0076-1)NessusSuSE Local Security Checks
critical
106045SUSE SLES11 Security Update : glibc (SUSE-SU-2018:0075-1)NessusSuSE Local Security Checks
high
106044SUSE SLED12 / SLES12 Security Update : glibc (SUSE-SU-2018:0074-1)NessusSuSE Local Security Checks
critical
106041SUSE SLES12 Security Update : glibc (SUSE-SU-2018:0071-1)NessusSuSE Local Security Checks
high