{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.wicket:wicket-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-23937 in the wild and no public exploit code.","fix":"Upgrade org.apache.wicket:wicket-core to a fixed version for your release line: 7.18.0, 8.12.0 or 9.3.0.","what":"CVE-2021-23937 is a high-severity server-side request forgery vulnerability in Apache Wicket, published on 25 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-23937 and fix it if it is affected.\n\nWhat it is: CVE-2021-23937 is a high-severity server-side request forgery vulnerability in Apache Wicket, published on 25 May 2021. 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-2021-23937 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.wicket:wicket-core (Maven): affected all versions; fixed in 7.18.0\n- org.apache.wicket:wicket-core (Maven): affected all versions; fixed in 7.18.0\n- org.apache.wicket:wicket-core (Maven): affected from 8.0.0; fixed in 8.12.0\n- org.apache.wicket:wicket-core (Maven): affected from 8.0.0; fixed in 8.12.0\n- org.apache.wicket:wicket-core (Maven): affected from 9.0.0; fixed in 9.3.0\n- org.apache.wicket:wicket-core (Maven): affected from 9.0.0; fixed in 9.3.0\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-2021-23937/ (Markdown: https://insights.sbomify.com/CVE-2021-23937/index.md)","id":"CVE-2021-23937","markdown":"https://insights.sbomify.com/CVE-2021-23937/index.md","name":"CVE-2021-23937","record":{"aliases":["GHSA-hmhg-95wh-r699"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"An attacker can trigger arbitrary DNS lookups via unsanitized headers, potentially causing denial of service or information disclosure in Apache Wicket applications.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"wicket","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"A DNS proxy and possible amplification attack vulnerability in WebClientInfo of Apache Wicket allows an attacker to trigger arbitrary DNS lookups from the server when the X-Forwarded-For header is not properly sanitized. This DNS lookup can be engineered to overload an internal DNS server or to slow down request processing of the Apache Wicket application causing a possible denial of service on either the internal infrastructure or the web application itself. This issue affects Apache Wicket Apache Wicket 9.x version 9.2.0 and prior versions; Apache Wicket 8.x version 8.11.0 and prior versions; Apache Wicket 7.x version 7.17.0 and prior versions and Apache Wicket 6.x version 6.2.0 and later versions.","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":"DNS proxy and possible amplification attack","id":"CVE-2021-23937","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2021"},"n_packages":6,"n_references":4,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2021-23938"},"packages":[{"ecosystem":"Maven","fixed":["7.18.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":null,"source":"GHSA-hmhg-95wh-r699"},{"ecosystem":"Maven","fixed":["7.18.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":"pkg:maven/org.apache.wicket/wicket-core","source":"GHSA-hmhg-95wh-r699"},{"ecosystem":"Maven","fixed":["8.12.0"],"introduced":["8.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":null,"source":"GHSA-hmhg-95wh-r699"},{"ecosystem":"Maven","fixed":["8.12.0"],"introduced":["8.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":"pkg:maven/org.apache.wicket/wicket-core","source":"GHSA-hmhg-95wh-r699"},{"ecosystem":"Maven","fixed":["9.3.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":null,"source":"GHSA-hmhg-95wh-r699"},{"ecosystem":"Maven","fixed":["9.3.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":"pkg:maven/org.apache.wicket/wicket-core","source":"GHSA-hmhg-95wh-r699"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-23936"},"products":["Apache Wicket"],"published":"2021-05-25","related":[{"cvss_score":9.8,"headline":"Apache Wicket: Remote code execution via XSLT injection","id":"CVE-2024-36522","kev_date_added":null,"published":"2024-07-12"},{"cvss_score":9.1,"headline":"Apache Wicket: possible session fixation using AuthenticatedWebSession","id":"CVE-2026-40010","kev_date_added":null,"published":"2026-05-06"},{"cvss_score":9.1,"headline":"Deserialization in n/a","id":"CVE-2016-6793","kev_date_added":null,"published":"2017-07-14"},{"cvss_score":8.8,"headline":"Apache Wicket vulnerable to CSRF attacks","id":"CVE-2016-6806","kev_date_added":null,"published":"2017-10-02"},{"cvss_score":7.5,"headline":"Apache Wicket: Configured file upload limits are not enforced when the multipart request has already been parsed","id":"CVE-2026-71257","kev_date_added":null,"published":"2026-08-31"},{"cvss_score":7.5,"headline":"Apache Wicket: crafted URLs can bypass PackageResourceGuard","id":"CVE-2026-43646","kev_date_added":null,"published":"2026-05-06"}],"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-08-03","vendors":["Apache Software Foundation"]},"summary":"An attacker can trigger arbitrary DNS lookups via unsanitized headers, potentially causing denial of service or information disclosure in Apache Wicket applications.","url":"https://insights.sbomify.com/CVE-2021-23937/"}