CVE-2018-1337
Credential leak in org.apache.directory.api:apache-ldap-api
Also known as GHSA-cfw5-v7cw-69cw
Mitigation
- Upgrade org.apache.directory.api:apache-ldap-api to 1.0.2 or later.
Who should check
- Projects that depend on Maven package org.apache.directory.api:apache-ldap-api (< 1.0.2)
- Anyone running Apache Software Foundation Apache Directory LDAP API prior to 1.0.2
Vulnerability facts
- Affected
- org.apache.directory.api:apache-ldap-api < 1.0.2
- Fixed in
- 1.0.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 4.97% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- CWE
- CWE-200
- Modified
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).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.directory.api:apache-ldap-api | < 1.0.2 | 1.0.2 | osv |
| Apache Software Foundation Apache Directory | LDAP API prior to 1.0.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-1337. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-1337.md Affected: org.apache.directory.api:apache-ldap-api < 1.0.2 Fixed in: 1.0.2 Steps: 1. Search this machine and project for org.apache.directory.api:apache-ldap-api (Maven), Apache Software Foundation Apache Directory: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- http://www.securityfocus.com/bid/104744
- https://lists.apache.org/thread.html/d66081195e9a02ee7cc20fb243b60467d1419586eed28297d820768f%40%3Cdev.directory.apache.org%3E
- https://lists.apache.org/thread.html/r1a258430d820a90ff9d4558319296cc517ff2252327d7b3546d16749%40%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r56b304fb9960c869995efbb31da3b9b7c6d53ee31f7f7048eb80434b%40%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r55e74532e7f9e84ecfa56b4e0a50a5fe0ba6f7a76880520e4400b0d7%40%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r4da40aa50cfdb2158898f2bc6df81feec1d42c6a06db6537d5cc0496%40%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r0e645b3f6ca977dc60b7cec231215c59a9471736c2402c1fef5a0616%40%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r1815fb5b0c345f571c740e7a1b48d7477647edd4ffcf9d5321e69446%40%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/d66081195e9a02ee7cc20fb243b60467d1419586eed28297d820768f@%3Cdev.directory.apache.org%3E
- https://lists.apache.org/thread.html/r0e645b3f6ca977dc60b7cec231215c59a9471736c2402c1fef5a0616@%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r1815fb5b0c345f571c740e7a1b48d7477647edd4ffcf9d5321e69446@%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r1a258430d820a90ff9d4558319296cc517ff2252327d7b3546d16749@%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r4da40aa50cfdb2158898f2bc6df81feec1d42c6a06db6537d5cc0496@%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r55e74532e7f9e84ecfa56b4e0a50a5fe0ba6f7a76880520e4400b0d7@%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r56b304fb9960c869995efbb31da3b9b7c6d53ee31f7f7048eb80434b@%3Cdev.kafka.apache.org%3E
FAQ
Is CVE-2018-1337 being exploited?
There is no confirmed exploitation: CVE-2018-1337 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.97% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-1337?
Critical: CVSS 9.8 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2018-1337?
org.apache.directory.api:apache-ldap-api < 1.0.2.
Is there a fix for CVE-2018-1337?
Yes. Fixed in 1.0.2. Upgrade org.apache.directory.api:apache-ldap-api to 1.0.2 or later.
How do I check if I'm affected by CVE-2018-1337?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.