CVE-2018-10850: Race Condition

Published Jun 6, 2018
·
Updated

389-ds-base before versions 1.4.0.10, 1.3.8.3 is vulnerable to a race condition in the way 389-ds-base handles persistent search, resulting in a crash if the server is under load. An anonymous attacker could use this flaw to trigger a denial of service.

Other sources

The bug is related to incoming connection handling in DS. A connection data structure contains a refcnt. The refcnt accounts the number of pending requests. When a connection needs to be cleanup (upon closure, timeout...) the core server waits for refcnt to be 0. It basically waits for all pending requests to complete before cleaning the structure.

The refcnt does not account specific LDAP request (persistent search), so if an event occurs on the connection (closure) the core server may reset the structure although a request is still going on.

Anonymous user are allowed to trigger a persistent search so in theory anyone sending persistent search and closing the connection hits that bug. Under normal use, most of the time the problem is not detected. Sometime there are error written in the log when an invalid refcnt is found. But depending on dispatch dynamic of the threads handling connection event it can crash.

Red Hat

Affected Software

12 affected componentsFixes available
redhat/389-ds-base<1.4.0.10
1.4.0.10
redhat/389-ds-base<1.3.8.3
1.3.8.3
Fedoraproject 389 Directory Server<1.4.0.10
Debian Debian Linux=8.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=7.0

Event History

Jun 13, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-10850?

CVE-2018-10850 is a vulnerability in 389-ds-base before versions 1.4.0.10 and 1.3.8.3.

2

What is the severity of CVE-2018-10850?

The severity of CVE-2018-10850 is high with a severity value of 5.9.

3

How does CVE-2018-10850 impact 389-ds-base?

CVE-2018-10850 could result in a race condition in 389-ds-base, causing a crash if the server is under load.

4

How can an attacker exploit CVE-2018-10850?

An anonymous attacker could trigger a denial of service by exploiting CVE-2018-10850.

5

How can I fix CVE-2018-10850?

To fix CVE-2018-10850, update to versions 1.4.0.10 or 1.3.8.3 of 389-ds-base.

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