CVE-2018-1000121
JSON

7.5high

LDAP NULL pointer dereference

Severity
7.5high CVSS:3.0 by NVD
Exploit likelihood
8.74% (higher than 95% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
CURL-CVE-2018-1000121

Description

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
https://github.com/curl/curl.gitfrom 7.21.0 before 7.59.0, from 2e056353b00d0944bdb2f8e948cc40a4dc0f3dfb before 9889db043393092e9d4b5a42720bba0b3d58debacurl
debian debian_linux7.0, 8.0, 9.0NVD
canonical ubuntu_linux12.04, 14.04, 16.04, 17.10NVD
haxx curlfrom 7.21.0 up to 7.58.0NVD
redhat enterprise_linux_desktop7.0NVD
redhat enterprise_linux_server7.0NVD
redhat enterprise_linux_workstation7.0NVD
oracle communications_webrtc_session_controllerbefore 7.2NVD
oracle enterprise_manager_ops_center12.2.2, 12.3.3NVD
oracle peoplesoft_enterprise_peopletools8.55, 8.56, 8.57NVD

All scores

curllow rating
NVD7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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

curl

curl might dereference a near-NULL address when getting an LDAP URL.

The function ldap_get_attribute_ber() is called to get attributes, but it turns out that it can return LDAP_SUCCESS and still return a NULL pointer in the result pointer when getting a particularly crafted response. This was a surprise to us and to the code.

libcurl-using applications that allow LDAP URLs, or that allow redirects to LDAP URLs could be made to crash by a malicious server.

NVD (es)

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).

References

http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlpatch
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.htmlpatch, third-party-advisory
https://access.redhat.com/errata/RHSA-2018:3558third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2018:3157third-party-advisory, vendor-advisory
https://www.debian.org/security/2018/dsa-4136third-party-advisory, vendor-advisory
http://www.securityfocus.com/bid/103415third-party-advisory, vdb-entry
http://www.securitytracker.com/id/1040529third-party-advisory, vdb-entry
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlpatch
https://curl.haxx.se/docs/adv_2018-97a2.htmlvendor-advisory
https://lists.debian.org/debian-lts-announce/2018/03/msg00012.htmlmailing-list, third-party-advisory
https://usn.ubuntu.com/3598-1/third-party-advisory, vendor-advisory
https://usn.ubuntu.com/3598-2/third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2018-1000121 changed 2024-08-05CVE Terms of Use
curlCURL-CVE-2018-1000121 changed 2026-10-25MIT
NVDCVE-2018-1000121 changed 2026-06-17Public domain