CVE-2013-4322: Apache Tomcat Denial of Service vulnerability
Summary
CVE-2013-4322: Apache Tomcat Denial of Service vulnerability. Affects org.apache.tomcat:tomcat across 3 version ranges.
< 6.0.39
>= 7.0.0, < 7.0.50
>= 8.0.0-RC1, < 8.0.0-RC10
Fixed in 6.0.39, 7.0.50 or 8.0.0-RC10, depending on the release line you run. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Apache Tomcat is an open-source web server and servlet container that is used to deploy Java-based web applications. It provides a Java HTTP web server environment for running Java code. The vulnerability identified as CVE-2013-4322 affects versions of Apache Tomcat before 6.0.39, 7.x before 7.0.50, and 8.x before 8.0.0-RC10. This vulnerability allows remote attackers to cause a denial of service by streaming data due to improper handling of chunked transfer coding and whitespace characters in an HTTP header value within a trailer field. It is important to note that this vulnerability is an incomplete fix for CVE-2012-3544.
Vulnerability Detail
The vulnerability in Apache Tomcat allows remote attackers to exploit the chunked transfer coding and whitespace characters in an HTTP header value within a trailer field to cause a denial of service. This can be achieved by streaming a large amount of chunked data or by including whitespace characters in the header value. The vulnerability exists due to an incomplete fix for a previous vulnerability (CVE-2012-3544). The impact of this vulnerability is a denial of service, which can disrupt the availability of the affected Apache Tomcat server.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 6.0.396.0.39 -
>= 7.0.0, < 7.0.507.0.50 -
>= 8.0.0-RC1, < 8.0.0-RC108.0.0-RC10
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
If upgrading to a fixed version of Apache Tomcat is not immediately feasible, a possible workaround is to implement network-level mitigations such as firewall rules or network intrusion prevention systems (IPS) to block or filter malicious requests that exploit the vulnerability. However, this workaround may not provide complete protection and should be considered temporary until the upgrade can be performed.
Conclusion
The CVE-2013-4322 vulnerability in Apache Tomcat can lead to a denial of service if exploited. It is crucial to upgrade to a fixed version of Apache Tomcat to mitigate this vulnerability. If immediate upgrading is not possible, implementing network-level mitigations can serve as a temporary workaround. For more information and assistance on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for org.apache.tomcat:tomcat →
FAQ
Apache Tomcat is an open-source web server and servlet container that is used to deploy Java-based web applications. It provides a Java HTTP web server environment for running Java code.
The impact of this vulnerability is a denial of service, which can disrupt the availability of the affected Apache Tomcat server.
To fix this vulnerability, it is recommended to upgrade to a fixed version of Apache Tomcat. For versions 6.0.x, upgrading to version 6.0.39 or later is necessary. For versions 7.x, upgrading to version 7.0.50 or later is required. For versions 8.x, upgrading to version 8.0.0-RC10 or later is advised.
If upgrading to a fixed version of Apache Tomcat is not immediately feasible, a possible workaround is to implement network-level mitigations such as firewall rules or network intrusion prevention systems (IPS) to block or filter malicious requests that exploit the vulnerability.
For more information about this vulnerability, you can refer to the official GitHub advisory database entry: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wq2p-q66w-q8gp/GHSA-wq2p-q66w-q8gp.json
References
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.tomcat:tomcat.