CVE-2018-1337 Credential leak in org.apache.directory.api:apache-ldap-api

Critical 9.8 Published Updated

A race condition in the SSL filter allows attackers to read sensitive data, including credentials, from pooled connections before TLS is established.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1337?

CVE-2018-1337 is a critical vulnerability in Apache Directory, published on 10 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Apache Directory LDAP API before 1.0.2, a bug in the way the SSL Filter was setup made it possible for another thread to use the connection before the TLS layer has been established, if the connection has already been used and put back in a pool of connections, leading to leaking any information contained in this request (including the credentials when sending a BIND request).

Weakness: CWE-200

Which versions are affected by CVE-2018-1337?

2 open source packages ship an affected version, including org.apache.directory.api:apache-ldap-api. It affects 1 product.

PackageAffectedFixed in
org.apache.directory.api:apache-ldap-api MavenAll versions1.0.2
org.apache.directory.api:apache-ldap-api MavenAll versions1.0.2

Products include Apache Directory Ldap Api.

How do I fix CVE-2018-1337?

Upgrade org.apache.directory.api:apache-ldap-api to 1.0.2 or later.

Is CVE-2018-1337 being exploited?

There is no known exploitation of CVE-2018-1337 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-1337, GHSA-cfw5-v7cw-69cw.

Is CVE-2018-1337 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free