{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.archiva:archiva. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-9495 in the wild and no public exploit code.","fix":"Upgrade org.apache.archiva:archiva to 2.2.5 or later.","what":"CVE-2020-9495 is a medium-severity vulnerability in Apache Archiva, published on 19 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-9495 and fix it if it is affected.\n\nWhat it is: CVE-2020-9495 is a medium-severity vulnerability in Apache Archiva, published on 19 Jun 2020. 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-2020-9495 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.archiva:archiva (Maven): affected all versions; fixed in 2.2.5\n- org.apache.archiva:archiva (Maven): affected all versions; fixed in 2.2.5\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-2020-9495/ (Markdown: https://insights.sbomify.com/CVE-2020-9495/index.md)","id":"CVE-2020-9495","markdown":"https://insights.sbomify.com/CVE-2020-9495/index.md","name":"CVE-2020-9495","record":{"aliases":["GHSA-v83p-xwm9-v4g8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Archiva","requires_auth":"none","summary":"An attacker can retrieve arbitrary user attribute data from the connected LDAP server via a timing-based injection in the login form.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"archiva","vendor":"apache"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Apache Archiva login service before 2.2.5 is vulnerable to LDAP injection. A attacker is able to retrieve user attribute data from the connected LDAP server by providing special values to the login form. With certain characters it is possible to modify the LDAP filter used to query the LDAP users. By measuring the response time for the login request, arbitrary attribute data can be retrieved from LDAP user objects.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2020-07-29","github_poc":1,"max_poc_stars":8,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-07-29T19:57:32Z","kind":"github_poc","ref":"https://github.com/ggolawski/CVE-2020-9495","stars":8,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Injection in Apache Archiva","id":"CVE-2020-9495","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"other","year":"2020"},"n_packages":2,"n_references":6,"next":{"headline":"Deserialization in Apache OFBiz","id":"CVE-2020-9496"},"packages":[{"ecosystem":"Maven","fixed":["2.2.5"],"introduced":["0"],"last_affected":[],"package":"org.apache.archiva:archiva","purl":null,"source":"GHSA-v83p-xwm9-v4g8"},{"ecosystem":"Maven","fixed":["2.2.5"],"introduced":["0"],"last_affected":[],"package":"org.apache.archiva:archiva","purl":"pkg:maven/org.apache.archiva/archiva","source":"GHSA-v83p-xwm9-v4g8"}],"prev":{"headline":"Denial of service in Apache Traffic Server","id":"CVE-2020-9494"},"products":["Apache Archiva"],"published":"2020-06-19","related":[{"cvss_score":9.8,"headline":"Apache Struts Improper Input Validation","id":"CVE-2013-2251","kev_date_added":"2022-03-25","published":"2013-07-18"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2016-4469","kev_date_added":null,"published":"2016-07-28"},{"cvss_score":8,"headline":"Apache Archiva vulnerable to Cross Site Request Forgery","id":"CVE-2017-5657","kev_date_added":null,"published":"2017-05-22"},{"cvss_score":7.5,"headline":"Apache Archiva: disabling user registration is not effective","id":"CVE-2024-27138","kev_date_added":null,"published":"2024-03-01"},{"cvss_score":7.5,"headline":"Apache Archiva: incorrect authentication potentially leading to account takeover","id":"CVE-2024-27139","kev_date_added":null,"published":"2024-03-01"},{"cvss_score":7.5,"headline":"Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files","id":"CVE-2022-40308","kev_date_added":null,"published":"2022-11-15"},{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2011-1026","kev_date_added":null,"published":"2011-06-02"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can retrieve arbitrary user attribute data from the connected LDAP server via a timing-based injection in the login form.","url":"https://insights.sbomify.com/CVE-2020-9495/"}