CVE-2021-23937
DNS proxy and possible amplification attack
Also known as GHSA-hmhg-95wh-r699
Mitigation
- Upgrade org.apache.wicket:wicket-core to one of 9.3.0, 8.12.0, 7.18.0 (or later in the same release line).
- Vendor workaround: Sanitize the X-Forwarded-For header by running an Apache Wicket application behind a reverse HTTP proxy. This proxy should put the client IP address in the X-Forwarded-For header and not pass through the contents of the header as received by the client.
Who should check
- Projects that depend on Maven package org.apache.wicket:wicket-core (>= 9.0.0, < 9.3.0)
- Anyone running Apache Software Foundation Apache Wicket >= Apache Wicket 9.x, <= 9.2.0; >= Apache Wicket 8.x, <= 8.11.0; >= Apache Wicket 7.x, <= 7.17.0; >= 6.2.0, < Apache Wicket 6.x*
Vulnerability facts
- Affected
- org.apache.wicket:wicket-core >= 9.0.0, < 9.3.0
- Fixed in
- 9.3.0, 8.12.0, 7.18.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 4.26% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-200
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.wicket:wicket-core | >= 9.0.0, < 9.3.0 | 9.3.0, 8.12.0, 7.18.0 | osv |
| Apache Software Foundation Apache Wicket | >= Apache Wicket 9.x, <= 9.2.0; >= Apache Wicket 8.x, <= 8.11.0; >= Apache Wicket 7.x, <= 7.17.0; >= 6.2.0, < Apache Wicket 6.x* | — | 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-2021-23937. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-23937.md Affected: org.apache.wicket:wicket-core >= 9.0.0, < 9.3.0 Fixed in: 9.3.0, 8.12.0, 7.18.0 Steps: 1. Search this machine and project for org.apache.wicket:wicket-core (Maven), Apache Software Foundation Apache Wicket: 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
- https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e%40%3Cannounce.wicket.apache.org%3E
- https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e%40%3Cusers.wicket.apache.org%3E
- https://lists.apache.org/thread.html/r8ccbd91b56ebf045d151bd4282bfeea7842a0698a0b76118fca8fe78%40%3Cdev.wicket.apache.org%3E
- https://github.com/apache/wicket
- https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e@%3Cannounce.wicket.apache.org%3E
- https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e@%3Cusers.wicket.apache.org%3E
- https://lists.apache.org/thread.html/r8ccbd91b56ebf045d151bd4282bfeea7842a0698a0b76118fca8fe78@%3Cdev.wicket.apache.org%3E
- https://lists.apache.org/thread.html/rc2ef22f90793e158cef65a7e370cdbca023c499d1403d65feeca870d@%3Cusers.wicket.apache.org%3E
- https://lists.apache.org/thread.html/rce158bb896c9ef812393a11646fdef7b9023833e54854c4302ff7b70@%3Cdev.wicket.apache.org%3E
- https://lists.apache.org/thread.html/rce23bba1e11368f9f4cccce0e9b02b88dcdac4e4b2304e66bd098cf5@%3Cannounce.wicket.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/05/25/2
FAQ
Is CVE-2021-23937 being exploited?
There is no confirmed exploitation: CVE-2021-23937 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-23937?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2021-23937?
org.apache.wicket:wicket-core >= 9.0.0, < 9.3.0.
Is there a fix for CVE-2021-23937?
Yes. Fixed in 9.3.0, 8.12.0, 7.18.0. Upgrade org.apache.wicket:wicket-core to one of 9.3.0, 8.12.0, 7.18.0 (or later in the same release line). Vendor workaround: Sanitize the X-Forwarded-For header by running an Apache Wicket application behind a reverse HTTP proxy. This proxy should put the client IP address in the X-Forwarded-For header and not pass through the contents of the header as received by the client.
How do I check if I'm affected by CVE-2021-23937?
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.