CVE-2010-4476: Apache Tomcat Apache Tomcat Affected By Infinite Vulnerability
MODERATECVE-2010-4476 is a MODERATE apache tomcat affected by infinite vulnerability (General Security Weakness) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves apache tomcat affected by infinite loop in double.parsedouble method in java runtime environment. Remediation is available by upgrading affected packages to version 7.0.7, 6.0.32, 5.5.33.
CVE-2010-4476 at a Glance
How to Fix CVE-2010-4476
To remediate this vulnerability, upgrade all affected Apache Tomcat dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>7.0.7</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>6.0.32</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>5.5.33</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.tomcat
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2010-4476, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.tomcat
Analyze the terminal output to locate any version of Apache Tomcat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.7), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.tomcat command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Apache Tomcat, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2010-4476 Affected Apache Tomcat Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.tomcat:tomcat
|
Maven |
≥ 7.0.0
< 7.0.7
|
7.0.7
|
|
org.apache.tomcat:tomcat
|
Maven |
≥ 6.0.0
< 6.0.32
|
6.0.32
|
|
org.apache.tomcat:tomcat
|
Maven |
≥ 5.5.0
< 5.5.33
|
5.5.33
|
References
Frequently Asked Questions
What is CVE-2010-4476?
Which Apache Tomcat versions are affected?
What version fixes CVE-2010-4476?
Is tomcat affected?
What CWE is associated with CVE-2010-4476?
How can I check Maven dependencies for CVE-2010-4476?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gvgc-rxmh-5hvw",
"modified" : "2024-02-27T21:57:20Z",
"published" : "2022-05-14T02:16:07Z",
"aliases" : [ "CVE-2010-4476" ],
"summary" : "Apache Tomcat affected by infinite loop in Double.parseDouble method in Java Runtime Environment",
"details" : "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.\n\nApache Tomcat introduced workarounds to avoid being affected by this issue in versions 7.0.7, 6.0.32, and 5.5.33.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.32"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.0"
}, {
"fixed" : "5.5.33"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-4476"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/407841c426dc52a4c6b8ccd297df6c484a540056"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/69ef147c4498397e8f644a0699cf588b45a05120"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/b0c1eeaa0d303bcb42651b222037e079d0634c01"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/tomcat"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12662"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12745"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14328"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14589"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19493"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/viewvc?view=revision&revision=1066244"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/viewvc?view=revision&revision=1066315"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/viewvc?view=revision&revision=1066318"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-5.html"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-6.html"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-7.html"
}, {
"type" : "WEB",
"url" : "http://blog.fortify.com/blog/2011/02/08/Double-Trouble"
}, {
"type" : "WEB",
"url" : "http://blogs.oracle.com/security/2011/02/security_alert_for_cve-2010-44.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053926.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053934.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00004.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2011-07/msg00010.html"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=129899347607632&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=129960314701922&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=130168502603566&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=130270785502599&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=130497132406206&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=130497185606818&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=130514352726432&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=131041767210772&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=132215163318824&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=133469267822771&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=133728004526190&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=134254866602253&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=134254957702612&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=136485229118404&w=2"
}, {
"type" : "WEB",
"url" : "http://security.gentoo.org/glsa/glsa-201406-32.xml"
}, {
"type" : "WEB",
"url" : "http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5098550.html"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg1IZ94423"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg1PM31983"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21468358"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2011/dsa-2161"
}, {
"type" : "WEB",
"url" : "http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308"
}, {
"type" : "WEB",
"url" : "http://www.hitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS11-003/index.html"
}, {
"type" : "WEB",
"url" : "http://www.ibm.com/support/docview.wss?uid=swg24029497"
}, {
"type" : "WEB",
"url" : "http://www.ibm.com/support/docview.wss?uid=swg24029498"
}, {
"type" : "WEB",
"url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2011:054"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/cpuapr2011-301950.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/javacpufeb2011-304611.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0210.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0211.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0212.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0213.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0214.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0282.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0333.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0334.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-0880.html"
}, {
"type" : "WEB",
"url" : "http://www13.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02720715&admit=109447627+1298159618320+28353475"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-27T21:57:19Z",
"nvd_published_at" : "2011-02-17T19:00:00Z"
}
}