Vulnerability Name:

CVE-2018-1000001

Assigned:2018-01-16
Published:2018-01-11
Updated:2018-04-11
Summary: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.
CVSS v3 Severity:7.8 High (CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.4 High (CCN CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.3 High (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.0 High (REDHAT CVSS v3 Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.1 Medium (REDHAT Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-119
CWE-122
References:Source: MLIST
Type: VENDOR_ADVISORY
[oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001

Source: BID
Type: VENDOR_ADVISORY
102525

Source: SECTRACK
Type: VENDOR_ADVISORY
1040162

Source: REDHAT
Type: UNKNOWN
RHSA-2018:0805

Source: XF
Type: UNKNOWN
glibc-cve20181000001-code-exec(137516)

Source: UBUNTU
Type: UNKNOWN
USN-3534-1

Source: UBUNTU
Type: UNKNOWN
USN-3536-1

Source: EXPLOIT-DB
Type: VENDOR_ADVISORY
43775

Source: MISC
Type: VENDOR_ADVISORY
https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:gnu:glibc:2.26:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:gnu:glibc:2.0:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20181000001
    V
    CVE-2018-1000001
    2018-04-24
    oval:com.redhat.rhsa:def:20180805
    P
    RHSA-2018:0805: glibc security, bug fix, and enhancement update (Moderate)
    2018-04-10
    oval:com.ubuntu.xenial:def:20181000001000
    V
    CVE-2018-1000001 on Ubuntu 16.04 LTS (xenial) - high.
    2018-01-31
    oval:com.ubuntu.trusty:def:20181000001000
    V
    CVE-2018-1000001 on Ubuntu 14.04 LTS (trusty) - high.
    2018-01-31
    oval:com.ubuntu.artful:def:20181000001000
    V
    CVE-2018-1000001 on Ubuntu 17.10 (artful) - high.
    2018-01-31
    BACK
    gnu glibc 2.26
    gnu glibc 2.0