{"id":"CVE-2018-1000001","state":"PUBLISHED","title":"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 poten","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.","publishedAt":"2018-01-31T14:00:00.000Z","updatedAt":"2024-08-05T12:33:48.490Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://seclists.org/oss-sec/2018/q1/38","https://usn.ubuntu.com/3534-1/","https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","http://www.securityfocus.com/bid/102525","https://www.exploit-db.com/exploits/44889/","https://www.exploit-db.com/exploits/43775/","https://usn.ubuntu.com/3536-1/","https://access.redhat.com/errata/RHSA-2018:0805","http://www.securitytracker.com/id/1040162","https://security.netapp.com/advisory/ntap-20190404-0003/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:06.197Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/1000xxx/CVE-2018-1000001.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-1000001","state":"PUBLISHED","datePublished":"2018-01-31T14:00:00.000Z","dateUpdated":"2024-08-05T12:33:48.490Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-01-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://seclists.org/oss-sec/2018/q1/38","name":"[oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3534-1/","name":"USN-3534-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/102525","name":"102525","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/44889/","name":"44889","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.exploit-db.com/exploits/43775/","name":"43775","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://usn.ubuntu.com/3536-1/","name":"USN-3536-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0805","name":"RHSA-2018:0805","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1040162","name":"1040162","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-04-04T10:06:03.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-01-11T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-1000001","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001","refsource":"MLIST","url":"http://seclists.org/oss-sec/2018/q1/38"},{"name":"USN-3534-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3534-1/"},{"name":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","refsource":"MISC","url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/"},{"name":"102525","refsource":"BID","url":"http://www.securityfocus.com/bid/102525"},{"name":"44889","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44889/"},{"name":"43775","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/43775/"},{"name":"USN-3536-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3536-1/"},{"name":"RHSA-2018:0805","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:0805"},{"name":"1040162","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1040162"},{"name":"https://security.netapp.com/advisory/ntap-20190404-0003/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20190404-0003/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://seclists.org/oss-sec/2018/q1/38","name":"[oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/3534-1/","name":"USN-3534-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/102525","name":"102525","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/44889/","name":"44889","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/43775/","name":"43775","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://usn.ubuntu.com/3536-1/","name":"USN-3536-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0805","name":"RHSA-2018:0805","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securitytracker.com/id/1040162","name":"1040162","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T12:33:48.490Z"}}]}}}