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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| https://github.com/curl/curl.git | from 7.21.0 before 7.59.0, from 2e056353b00d0944bdb2f8e948cc40a4dc0f3dfb before 9889db043393092e9d4b5a42720bba0b3d58deba | curl |
| debian debian_linux | 7.0, 8.0, 9.0 | NVD |
| canonical ubuntu_linux | 12.04, 14.04, 16.04, 17.10 | NVD |
| haxx curl | from 7.21.0 up to 7.58.0 | NVD |
| redhat enterprise_linux_desktop | 7.0 | NVD |
| redhat enterprise_linux_server | 7.0 | NVD |
| redhat enterprise_linux_workstation | 7.0 | NVD |
| oracle communications_webrtc_session_controller | before 7.2 | NVD |
| oracle enterprise_manager_ops_center | 12.2.2, 12.3.3 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.55, 8.56, 8.57 | NVD |
All scores
| curl | low rating | |
| NVD | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV: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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2018-1000121 changed 2024-08-05 | CVE Terms of Use |
| curl | CURL-CVE-2018-1000121 changed 2026-10-25 | MIT |
| NVD | CVE-2018-1000121 changed 2026-06-17 | Public domain |