CVE-2011-1582: Apache Tomcat Access Restriction Bypass Vulnerability
MODERATECVE-2011-1582 is a MODERATE access restriction bypass vulnerability (General Security Weakness) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves access restriction bypass in apache tomcat. Remediation is available by upgrading affected packages to version 7.0.14.
CVE-2011-1582 at a Glance
How to Fix CVE-2011-1582
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.14</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-2011-1582, 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.14), 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-2011-1582 Affected Apache Tomcat Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.tomcat:tomcat
|
Maven |
≥ 7.0.12
< 7.0.14
|
7.0.14
|
References
Frequently Asked Questions
What is CVE-2011-1582?
Which Apache Tomcat versions are affected?
What version fixes CVE-2011-1582?
Is tomcat affected?
What CWE is associated with CVE-2011-1582?
How can I check Maven dependencies for CVE-2011-1582?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3xpj-jgv5-q4vv",
"modified" : "2024-02-21T21:26:08Z",
"published" : "2022-05-14T02:55:47Z",
"aliases" : [ "CVE-2011-1582" ],
"summary" : "Access restriction bypass in Apache Tomcat",
"details" : "Apache Tomcat 7.0.12 and 7.0.13 processes the first request to a servlet without following security constraints that have been configured through annotations, which allows remote attackers to bypass intended access restrictions via HTTP requests. NOTE: this vulnerability exists because of an incomplete fix for CVE-2011-1088, CVE-2011-1183, and CVE-2011-1419.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.12"
}, {
"fixed" : "7.0.14"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-1582"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/299b26af66793438c323ea6b18462fa44683080f"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/67515"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/tomcat"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111110135226/http://www.securityfocus.com/archive/1/518032/100/0/threaded"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20170202135510/http://www.securityfocus.com/bid/47886"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/www-announce/201105.mbox/%3C4DD26E30.2060103@apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://securityreason.com/securityalert/8256"
}, {
"type" : "WEB",
"url" : "http://svn.apache.org/viewvc?view=revision&revision=1100832"
}, {
"type" : "WEB",
"url" : "http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.14_%28released_12_May_2011%29"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-14T01:01:49Z",
"nvd_published_at" : "2011-05-20T22:55:00Z"
}
}