CVE-2021-23937: DNS-based Denial of Service in Apache Wicket

Summary

24/05/2022
Yes i
High
7.5

CVE-2021-23937: DNS based denial of service in Apache Wicket. Affects org.apache.wicket:wicket-core across 3 version ranges.

< 7.18.0 >= 8.0.0, < 8.12.0 >= 9.0.0, < 9.3.0

Fixed in 7.18.0, 8.12.0 or 9.3.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Wicket is an open-source Java web application framework that simplifies the development of dynamic web applications. It provides a component-based programming model and a rich set of reusable UI components. Apache Wicket is widely used in enterprise applications to build robust and scalable web interfaces. However, a vulnerability has been discovered in Apache Wicket that allows for a DNS-based denial of service attack.

Vulnerability Detail

The vulnerability exists in the WebClientInfo component of Apache Wicket. When the X-Forwarded-For header is not properly sanitized, an attacker can trigger arbitrary DNS lookups from the server. This can be exploited to overload an internal DNS server or slow down request processing, leading to a denial of service on either the internal infrastructure or the web application itself. The vulnerability affects Apache Wicket versions 6.x, 7.x, 8.x, and 9.x.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 7.18.0 7.18.0
  • >= 8.0.0, < 8.12.0 8.12.0
  • >= 9.0.0, < 9.3.0 9.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above.

Conclusion

The DNS-based denial of service vulnerability in Apache Wicket can be mitigated by upgrading to the latest patched version and properly sanitizing the X-Forwarded-For header. It is important to stay updated with security patches and follow best practices to ensure the security of your web applications. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.wicket:wicket-core →

Share this vulnerability

FAQ

Apache Wicket is an open-source Java web application framework used for building dynamic web applications.

This vulnerability allows an attacker to trigger arbitrary DNS lookups, potentially leading to a denial of service on the internal infrastructure or the web application.

The vulnerability affects Apache Wicket versions 6.x, 7.x, 8.x, and 9.x.

Yes, it is recommended to upgrade to the latest patched version of Apache Wicket as mentioned in the 'how_to_fix' section.

There is no known workaround for this vulnerability. Applying the fix is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.wicket:wicket-core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 7.18.0 7.18.0
  • >= 8.0.0, < 8.12.0 8.12.0
  • >= 9.0.0, < 9.3.0 9.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback