Search
Find a vulnerability
Search criteria
Related vulnerabilities
UBUNTU-CVE-2018-1000001 (CVE-2018-1000001)
Vulnerability from osv_ubuntu – Published: 2018-01-11 00:00 – Updated: 2026-04-22 07:38 – Source website
VLAI
Details
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.
Upstream
Related
Severity
7.8 (High)
N/A (UNKNOWN)
References
9 references
Impacted products
4 products
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
eglibc
pkg:deb/ubuntu/eglibc@2.19-0ubuntu6.14?arch=source&distro=trusty
|
Affected: < 2.19-0ubuntu6.14 (ecosystem)
2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu52.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu4
and 13 more (see JSON)
|
| Ubuntu:Pro:14.04:LTS |
musl
pkg:deb/ubuntu/musl@0.9.15-1ubuntu0.1~esm1?arch=source&distro=trusty/esm
|
Affected: < 0.9.15-1ubuntu0.1~esm1 (ecosystem)
0.9.14-20.9.14-2ubuntu10.9.15-1
|
| Ubuntu:16.04:LTS |
glibc
pkg:deb/ubuntu/glibc@2.23-0ubuntu10?arch=source&distro=xenial
|
Affected: < 2.23-0ubuntu10 (ecosystem)
2.21-0ubuntu42.21-0ubuntu52.21-0ubuntu62.23-0ubuntu12.23-0ubuntu22.23-0ubuntu32.23-0ubuntu42.23-0ubuntu52.23-0ubuntu62.23-0ubuntu7
and 1 more (see JSON)
|
| Ubuntu:Pro:16.04:LTS |
musl
pkg:deb/ubuntu/musl@1.1.9-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial
|
Affected: < 1.1.9-1ubuntu0.1~esm2 (ecosystem)
1.1.9-1
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "eglibc-source",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc-bin",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc-dev-bin",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-amd64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-armel",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-amd64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-armel",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-i386",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-ppc64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-x32",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-i386",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-pic",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-ppc64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-prof",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-x32",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "multiarch-support",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "nscd",
"binary_version": "2.19-0ubuntu6.14"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "eglibc",
"purl": "pkg:deb/ubuntu/eglibc@2.19-0ubuntu6.14?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.19-0ubuntu6.14"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.17-93ubuntu4",
"2.18-0ubuntu1",
"2.18-0ubuntu2",
"2.18-0ubuntu4",
"2.18-0ubuntu5",
"2.18-0ubuntu6",
"2.18-0ubuntu7",
"2.19-0ubuntu2",
"2.19-0ubuntu3",
"2.19-0ubuntu4",
"2.19-0ubuntu5",
"2.19-0ubuntu6",
"2.19-0ubuntu6.1",
"2.19-0ubuntu6.3",
"2.19-0ubuntu6.4",
"2.19-0ubuntu6.5",
"2.19-0ubuntu6.6",
"2.19-0ubuntu6.7",
"2.19-0ubuntu6.8",
"2.19-0ubuntu6.9",
"2.19-0ubuntu6.10",
"2.19-0ubuntu6.11",
"2.19-0ubuntu6.13"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "musl",
"binary_version": "0.9.15-1ubuntu0.1~esm1"
},
{
"binary_name": "musl-tools",
"binary_version": "0.9.15-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "musl",
"purl": "pkg:deb/ubuntu/musl@0.9.15-1ubuntu0.1~esm1?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.15-1ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.9.14-2",
"0.9.14-2ubuntu1",
"0.9.15-1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "glibc-source",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc-bin",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc-dev-bin",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-amd64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-armel",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-amd64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-armel",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-i386",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-ppc64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-s390",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-x32",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-i386",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-pic",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-ppc64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-s390",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-x32",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "locales",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "locales-all",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "multiarch-support",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "nscd",
"binary_version": "2.23-0ubuntu10"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "glibc",
"purl": "pkg:deb/ubuntu/glibc@2.23-0ubuntu10?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.23-0ubuntu10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.21-0ubuntu4",
"2.21-0ubuntu5",
"2.21-0ubuntu6",
"2.23-0ubuntu1",
"2.23-0ubuntu2",
"2.23-0ubuntu3",
"2.23-0ubuntu4",
"2.23-0ubuntu5",
"2.23-0ubuntu6",
"2.23-0ubuntu7",
"2.23-0ubuntu9"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "musl",
"binary_version": "1.1.9-1ubuntu0.1~esm2"
},
{
"binary_name": "musl-tools",
"binary_version": "1.1.9-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "musl",
"purl": "pkg:deb/ubuntu/musl@1.1.9-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.9-1ubuntu0.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.9-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2018-1000001",
"modified": "2026-04-22T07:38:48Z",
"published": "2018-01-11T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-1000001"
},
{
"type": "REPORT",
"url": "http://www.openwall.com/lists/oss-security/2018/01/11/5"
},
{
"type": "REPORT",
"url": "https://sourceware.org/bugzilla/show_bug.cgi?id=18203"
},
{
"type": "REPORT",
"url": "https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3534-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3536-1"
},
{
"type": "REPORT",
"url": "https://lists.samba.org/archive/rsync/2018-February/031478.html"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-1000001"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4768-1"
}
],
"related": [
"USN-3534-1",
"USN-3536-1",
"USN-4768-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-1000001"
]
}