CVE-2018-1000121: Null Pointer Dereference

Published Mar 7, 2018
·
Updated

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

Other sources

It was found that curl might dereference a near-NULL address when getting an LDAP URL.

The function ldapgetattributeber() is called to get attributes, but it turns out that it can return LDAPSUCCESS and still return a NULL pointer in the result pointer when getting a particularly crafted response.

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

Red Hat

Affected Software

19 affected componentsFixes available
redhat/curl<7.59.0
7.59.0
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
haxx curl>=7.21.0<=7.58.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Oracle Communications WebRTC Session Controller<7.2
Oracle Enterprise Manager Ops Center=12.2.2
Oracle Enterprise Manager Ops Center=12.3.3
Oracle PeopleSoft Enterprise PeopleTools=8.55
Oracle PeopleSoft Enterprise PeopleTools=8.56
Oracle PeopleSoft Enterprise PeopleTools=8.57
debian/curl
7.74.0-1.3+deb11u137.74.0-1.3+deb11u167.88.1-10+deb12u147.88.1-10+deb12u58.14.1-2+deb13u38.20.0-58.21.0~rc2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/curl to a version that resolves this vulnerability.

    Fixed in 7.59.0
  2. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.74.0-1.3+deb11u13Fixed in 7.74.0-1.3+deb11u16Fixed in 7.88.1-10+deb12u14Fixed in 7.88.1-10+deb12u5Fixed in 8.14.1-2+deb13u3Fixed in 8.20.0-5Fixed in 8.21.0~rc2-1
  3. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.74.0-1.3+deb11u13
  4. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.74.0-1.3+deb11u16
  5. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-10+deb12u14
  6. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-10+deb12u5
  7. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.14.1-2+deb13u3
  8. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.20.0-5
  9. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.21.0~rc2-1
  10. Configuration

    If you cannot immediately upgrade, disable acceptance of LDAP URLs in applications that use libcurl and ensure applications do not follow redirects to ldap:// URLs to avoid triggering the LDAP NULL-pointer dereference.

    libcurl / curl LDAP URL handling and following redirects to LDAP URLs = disabled

Event History

Mar 14, 2018
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:43 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·03:20 PM
RemedyDescriptionSeverityAffected Software
Jun 14, 2026
Data Sourced
via Debian·10:33 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2018-1000121.

2

What is the severity of CVE-2018-1000121?

The severity of CVE-2018-1000121 is high with a severity value of 7.5.

3

What is the affected software?

The affected software includes curl versions 7.21.0 to 7.58.0.

4

How can an attacker exploit CVE-2018-1000121?

An attacker can exploit CVE-2018-1000121 to cause a denial of service by triggering a NULL pointer dereference in the LDAP code of curl.

5

How can CVE-2018-1000121 be fixed?

CVE-2018-1000121 can be fixed by upgrading to curl version 7.59.0 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203