CVE-2002-2006: Apache Tomcat Apache Tomcat Default Installation Reveals Vulnerability
LOWCVE-2002-2006 is a LOW apache tomcat default installation reveals vulnerability (General Security Weakness) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves apache tomcat default installation reveals sensitive information. Remediation is available by upgrading affected packages to version 4.1.0, 3.3a.
CVE-2002-2006 at a Glance
How to Fix CVE-2002-2006
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>4.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>3.3a</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-2002-2006, 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 4.1.0), 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-2002-2006 Affected Apache Tomcat Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.tomcat:tomcat
|
Maven |
≥ 4.0.0
< 4.1.0
|
4.1.0
|
|
org.apache.tomcat:tomcat
|
Maven |
≥ 3.0
< 3.3a
|
3.3a
|
References
Frequently Asked Questions
What is CVE-2002-2006?
Which Apache Tomcat versions are affected?
What version fixes CVE-2002-2006?
Is tomcat affected?
What CWE is associated with CVE-2002-2006?
How can I check Maven dependencies for CVE-2002-2006?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8g4f-fh7f-4fwh",
"modified" : "2024-02-12T20:18:08Z",
"published" : "2022-04-30T18:22:18Z",
"aliases" : [ "CVE-2002-2006" ],
"summary" : "Apache Tomcat Default Installation Reveals Sensitive Information",
"details" : "The default installation of Apache Tomcat 4.0 through 4.1 and 3.0 through 3.3.1 allows remote attackers to obtain the installation path and other sensitive system information via the (1) SnoopServlet or (2) TroubleShooter example servlets.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0"
}, {
"fixed" : "3.3a"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2002-2006"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@<dev.tomcat.apache.org>"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@<dev.tomcat.apache.org>"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@<dev.tomcat.apache.org>"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20020602051837/http://archives.neohapsis.com/archives/bugtraq/2002-04/0311.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20021026082659/http://online.securityfocus.com/bid/4575"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20030104173336/http://www.iss.net/security_center/static/8932.php"
}, {
"type" : "WEB",
"url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-239312-1"
}, {
"type" : "WEB",
"url" : "http://tomcat.apache.org/security-4.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-12T20:18:08Z",
"nvd_published_at" : "2002-12-31T05:00:00Z"
}
}