CVE-2022-29885 is a high-severity (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in org.apache.tomcat:tomcat. 6 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.apache.tomcat:tomcat — see the affected versions and patch details below.
EncryptInterceptor does not provide complete protection on insecure networks
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcatReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The documentation of Apache Tomcat 10.1.0-M1 to 10.1.0-M14, 10.0.0-M1 to 10.0.20, 9.0.13 to 9.0.62 and 8.5.38 to 8.5.78 for the EncryptInterceptor incorrectly stated it enabled Tomcat clustering to run over an untrusted network. This was not correct. While the EncryptInterceptor does provide confidentiality and integrity protection, it does not protect against all risks associated with running over any untrusted network, particularly DoS risks.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.tomcat:tomcat | ≥ 10.1.0-M1&&< 10.1.0-M15 | 10.1.0-M15org.apache.tomcat:tomcat:10.1.0-M15 |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 10.0.0-M1&&< 10.0.21 | 10.0.21org.apache.tomcat:tomcat:10.0.21 |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 9.0.13&&< 9.0.63 | 9.0.63org.apache.tomcat:tomcat:9.0.63 |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 8.5.38&&< 8.5.79 | 8.5.79org.apache.tomcat:tomcat:8.5.79 |
Affected Products
tomcatapachedebian linuxdebianhospitality cruise shipboard property management systemoracleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache Tomcat 10.1 - Denial Of Service
by Cristian Giustini · Apr 5, 2023
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.tomcat:tomcat, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.tomcat:tomcat to 10.1.0-M15 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-29885 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw describes a mistake made in the documentation which overstated the protection provided by the clustering feature. As the impact is Low and a patch would not directly improve the security posture of Apache Tomcat, this flaw is marked as will not fix for all Red Hat products. This may be fixed in a future…
For customers who use clustering on an untrusted network and require full protection, an alternate solution is recommended such as using a VPN.Source: Red Hat security advisory for CVE-2022-29885 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2022-29885 in your dependencies?
Find it across Maven, including transitive dependencies.