{"id":"CVE-2018-1000121","aliases":["CVE-2018-1000121","CURL-CVE-2018-1000121"],"related":[],"kind":"vulnerability","state":"published","title":"LDAP NULL pointer dereference","summary":"A NULL pointer dereference exists in curl 7.21.0 to and including curl 7.58.0 in the LDAP code that allows an attacker to cause a denial of service","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A NULL pointer dereference exists in curl 7.21.0 to and including curl 7.58.0 in the LDAP code that allows an attacker to cause a denial of service","source":"cvelist"},{"lang":"en","text":"curl might dereference a near-NULL address when getting an LDAP URL.\n\nThe function `ldap_get_attribute_ber()` is called to get attributes, but it\nturns out that it can return `LDAP_SUCCESS` and still return a `NULL` pointer\nin the result pointer when getting a particularly crafted response. This was a\nsurprise to us and to the code.\n\nlibcurl-using applications that allow LDAP URLs, or that allow redirects to\nLDAP URLs could be made to crash by a malicious server.","format":"markdown","source":"curl"},{"lang":"es","text":"Existe una desreferencia de puntero NULL en curl, de la versión 7.21.0 a la 7.58.0, en el código LDAP que permite que un atacante provoque una denegación de servicio (DoS).","source":"nvd"}],"published":"2018-03-14T08:00:00.000Z","modified":"2026-10-25T01:05:28.571Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"curl","scheme":"rating","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.21.0","status":"affected","fixed":"7.59.0"},{"type":"git","introduced":"2e056353b00d0944bdb2f8e948cc40a4dc0f3dfb","status":"affected","fixed":"9889db043393092e9d4b5a42720bba0b3d58deba"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.04"},{"status":"affected","version":"14.04"},{"status":"affected","version":"16.04"},{"status":"affected","version":"17.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.21.0","lastAffected":"7.58.0"}],"vendor":"haxx","product":"curl","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_desktop","cpe":"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_server","cpe":"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_workstation","cpe":"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"7.2"}],"vendor":"oracle","product":"communications_webrtc_session_controller","cpe":"cpe:2.3:a:oracle:communications_webrtc_session_controller:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.2"},{"status":"affected","version":"12.3.3"}],"vendor":"oracle","product":"enterprise_manager_ops_center","cpe":"cpe:2.3:a:oracle:enterprise_manager_ops_center:12.2.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.55"},{"status":"affected","version":"8.56"},{"status":"affected","version":"8.57"}],"vendor":"oracle","product":"peoplesoft_enterprise_peopletools","cpe":"cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.55:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","tags":["patch","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3558","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3157","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2018/dsa-4136","tags":["third-party-advisory","vendor-advisory","x-refsource-debian","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.securityfocus.com/bid/103415","tags":["third-party-advisory","vdb-entry","x-refsource-bid","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.securitytracker.com/id/1040529","tags":["third-party-advisory","vdb-entry","x-refsource-sectrack","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","tags":["patch","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://curl.haxx.se/docs/adv_2018-97a2.html","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00012.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/3598-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/3598-2/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0544","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0594","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Dario Weisser","Daniel Stenberg"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-1000121","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000121","licence":"CVE Terms of Use","modified":"2024-08-05T12:33:49.309Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2018-1000121","url":"https://osv.dev/vulnerability/CURL-CVE-2018-1000121","licence":"MIT","modified":"2026-10-25T01:05:28.571Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-1000121","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000121","licence":"Public domain","modified":"2026-06-17T01:32:28.360Z"}],"updatedAt":"2026-11-25T22:57:36.931Z","epss":{"score":0.08737,"percentile":0.9526,"date":"2026-12-01T12:00:22.000Z"}}