CVE-2010-4476 — tomcat
Fix: apache/tomcat@407841cCVE-2010-4476 is a security vulnerability in org.apache.tomcat:tomcat. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.apache.tomcat:tomcat — see the affected versions and patch details below.
Apache Tomcat affected by infinite loop in Double.parseDouble method in Java Runtime Environment
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
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 Double.parseDouble method in Java Runtime Environment (JRE) in Oracle Java SE and Java for Business 6 Update 23 and earlier, 5.0 Update 27 and earlier, and 1.4.2_29 and earlier, as used in OpenJDK, Apache, JBossweb, and other products, allows remote attackers to cause a denial of service via a crafted string that triggers an infinite loop of estimations during conversion to a double-precision binary floating-point number, as demonstrated using 2.2250738585072012e-308.
Apache Tomcat introduced workarounds to avoid being affected by this issue in versions 7.0.7, 6.0.32, and 5.5.33.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.tomcat:tomcat | ≥ 7.0.0&&< 7.0.7 | 7.0.7org.apache.tomcat:tomcat:7.0.7 |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 6.0.0&&< 6.0.32 | 6.0.32org.apache.tomcat:tomcat:6.0.32 |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 5.5.0&&< 5.5.33 | 5.5.33org.apache.tomcat:tomcat:5.5.33 |
Affected Products
jdksunjresunsdksunResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Oracle Java - Floating-Point Value Denial of Service
by Konstantin Preisser · Feb 1, 2011
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 7.0.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2010-4476 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.
| Product | Fixed in | Advisory |
|---|---|---|
| Extras for RHEL 4 | java-1.6.0-sun-1:1.6.0.24-1jpp.1.el4 | RHSA-2011:0282 |
| Extras for RHEL 4 | java-1.6.0-ibm-1:1.6.0.9.0-1jpp.4.el4 | RHSA-2011:0290 |
| Extras for RHEL 4 | java-1.5.0-ibm-1:1.5.0.12.3-1jpp.2.el4 | RHSA-2011:0291 |
| Extras for RHEL 4 | java-1.4.2-ibm-0:1.4.2.13.8-1jpp.4.el4 | RHSA-2011:0292 |
| JBEAP 4.2.0 for RHEL 4 | jbossweb-0:2.0.0-8.CP15.patch01.0jpp.ep1.1.el4 | RHSA-2011:0210 |
| JBEWP 5 for RHEL 5 | jbossweb-0:2.1.10-5.patch01.1.1.ep5.el5 | RHSA-2011:0211 |
| JBEWS 1.0 for RHEL 4 | tomcat6-0:6.0.24-11.patch_03.ep5.el4 | RHSA-2011:0348 |
| JBEWS 1.0 for RHEL 4 | tomcat5-0:5.5.28-18_patch_03.ep5.el4 | RHSA-2011:0349 |
Frequently Asked Questions
Is CVE-2010-4476 in your dependencies?
Find it across Maven, including transitive dependencies.