{"answers":{"affected":"3 open source packages ship an affected version, including github.com/go-ldap/ldap. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-14623 in the wild and no public exploit code.","fix":"Upgrade github.com/go-ldap/ldap to a fixed version for your release line: 2.5.0 or 2.5.0+incompatible.","what":"CVE-2017-14623 is a high-severity authentication bypass vulnerability in n/a, published on 20 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-14623 and fix it if it is affected.\n\nWhat it is: CVE-2017-14623 is a high-severity authentication bypass vulnerability in n/a, published on 20 Sep 2017. 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-2017-14623 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/go-ldap/ldap (Go): affected all versions; fixed in 2.5.0\n- github.com/go-ldap/ldap (Go): affected all versions; fixed in 2.5.0\n- github.com/go-ldap/ldap (Go): affected all versions; fixed in 2.5.0+incompatible\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-2017-14623/ (Markdown: https://insights.sbomify.com/CVE-2017-14623/index.md)","id":"CVE-2017-14623","markdown":"https://insights.sbomify.com/CVE-2017-14623/index.md","name":"CVE-2017-14623","record":{"aliases":["AZL-40850","DEBIAN-CVE-2017-14623","GHSA-x27w-qxhg-343v","GO-2022-0887","UBUNTU-CVE-2017-14623"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Go LDAP library","requires_auth":"none","summary":"An attacker can bypass authentication in applications using the go-ldap package if the server allows unauthenticated binds and the app ignores bind errors.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ldap","vendor":"go-ldap_project"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"In the ldap.v2 (aka go-ldap) package through 2.5.0 for Go, an attacker may be able to login with an empty password. This issue affects an application using this package if these conditions are met: (1) it relies only on the return error of the Bind function call to determine whether a user is authorized (i.e., a nil return value is interpreted as successful authorization) and (2) it is used with an LDAP server allowing unauthenticated bind.","ecosystems":["Go"],"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":"Access Restriction Bypass in go-ldap","id":"CVE-2017-14623","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2017"},"n_packages":3,"n_references":2,"next":{"headline":"Null dereference in n/a","id":"CVE-2017-14624"},"packages":[{"ecosystem":"Go","fixed":["2.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-ldap/ldap","purl":null,"source":"GHSA-x27w-qxhg-343v"},{"ecosystem":"Go","fixed":["2.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-ldap/ldap","purl":"pkg:golang/github.com/go-ldap/ldap","source":"GHSA-x27w-qxhg-343v"},{"ecosystem":"Go","fixed":["2.5.0+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/go-ldap/ldap","purl":"pkg:golang/github.com/go-ldap/ldap","source":"GO-2022-0887"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2017-14622"},"products":["n/a"],"published":"2017-09-20","related":[],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":["n/a"]},"summary":"An attacker can bypass authentication in applications using the go-ldap package if the server allows unauthenticated binds and the app ignores bind errors.","url":"https://insights.sbomify.com/CVE-2017-14623/"}