# CVE-2021-23937: DNS proxy and possible amplification attack

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 4.26% (percentile 92, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-hmhg-95wh-r699
- **Published:** 2021-05-25T08:05:10.000Z
- **Modified:** 2026-06-17T03:39:03.293Z

## 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\*

## 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

- Maven `org.apache.wicket:wicket-core`: affected \>= 9.0.0, \< 9.3.0; fixed 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://lists.apache.org/thread.html/rc2ef22f90793e158cef65a7e370cdbca023c499d1403d65feeca870d%40%3Cusers.wicket.apache.org%3E>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-23937>
- patch: <https://github.com/apache/wicket/commit/84f62a5cff462eaa3bfaf171b0638c7e7feea30d>
- other: <https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e%40%3Cannounce.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e%40%3Cusers.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r8ccbd91b56ebf045d151bd4282bfeea7842a0698a0b76118fca8fe78%40%3Cdev.wicket.apache.org%3E>
- other: <https://github.com/apache/wicket>
- other: <https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e@%3Cannounce.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r127c0c1f3cb71e5bc619ad1e4b898b97c49758d1f20a54042966473e@%3Cusers.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r8ccbd91b56ebf045d151bd4282bfeea7842a0698a0b76118fca8fe78@%3Cdev.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rc2ef22f90793e158cef65a7e370cdbca023c499d1403d65feeca870d@%3Cusers.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rce158bb896c9ef812393a11646fdef7b9023833e54854c4302ff7b70@%3Cdev.wicket.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rce23bba1e11368f9f4cccce0e9b02b88dcdac4e4b2304e66bd098cf5@%3Cannounce.wicket.apache.org%3E>
- other: <http://www.openwall.com/lists/oss-security/2021/05/25/2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-23937>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hmhg-95wh-r699> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-23937> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-23937>
