{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.directory.api:apache-ldap-api. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1337 in the wild and no public exploit code.","fix":"Upgrade org.apache.directory.api:apache-ldap-api to 1.0.2 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2018-1337 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2018-1337 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.directory.api:apache-ldap-api (Maven): affected all versions; fixed in 1.0.2\n- org.apache.directory.api:apache-ldap-api (Maven): affected all versions; fixed in 1.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-1337/ (Markdown: https://insights.sbomify.com/CVE-2018-1337/index.md)","id":"CVE-2018-1337","markdown":"https://insights.sbomify.com/CVE-2018-1337/index.md","name":"CVE-2018-1337","record":{"aliases":["DEBIAN-CVE-2018-1337","GHSA-cfw5-v7cw-69cw"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Directory LDAP API","requires_auth":"none","summary":"A race condition in the SSL filter allows attackers to read sensitive data, including credentials, from pooled connections before TLS is established.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"directory_ldap_api","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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).","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Credential leak in org.apache.directory.api:apache-ldap-api","id":"CVE-2018-1337","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2018"},"n_packages":2,"n_references":8,"next":{"headline":"Moderate severity vulnerability that affects org.apache.tika:tika-core","id":"CVE-2018-1338"},"packages":[{"ecosystem":"Maven","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.directory.api:apache-ldap-api","purl":null,"source":"GHSA-cfw5-v7cw-69cw"},{"ecosystem":"Maven","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.directory.api:apache-ldap-api","purl":"pkg:maven/org.apache.directory.api/apache-ldap-api","source":"GHSA-cfw5-v7cw-69cw"}],"prev":{"headline":"In Apache Tomcat there is an improper handing of overflow in the UTF-8 decoder","id":"CVE-2018-1336"},"products":["Apache Directory"],"published":"2018-07-10","related":[{"cvss_score":8.8,"headline":"Apache Directory LDAP API lacks server certificate verification for LDAP hostnames","id":"CVE-2026-35563","kev_date_added":null,"published":"2026-06-01"},{"cvss_score":7.5,"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Apache Directory LDAP API","id":"CVE-2015-3250","kev_date_added":null,"published":"2017-09-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Apache Software Foundation"]},"summary":"A race condition in the SSL filter allows attackers to read sensitive data, including credentials, from pooled connections before TLS is established.","url":"https://insights.sbomify.com/CVE-2018-1337/"}