CVE-2014-0095: Apache Tomcat Denial of Service Vulnerability
MODERATECVE-2014-0095 is a MODERATE denial of service vulnerability (CWE-20: Improper Input Validation) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves denial of service in apache tomcat. Remediation is available by upgrading affected packages to version 8.0.4.
CVE-2014-0095 at a Glance
How to Fix CVE-2014-0095
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-coyote</artifactId>
<version>8.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>8.0.4</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-2014-0095, 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 8.0.4), 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 CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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-2014-0095 Affected Apache Tomcat Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.tomcat:tomcat-coyote
|
Maven |
≥ 8.0.0-RC1
< 8.0.4
|
8.0.4
|
|
org.apache.tomcat.embed:tomcat-embed-core
|
Maven |
≥ 8.0.0-RC1
< 8.0.4
|
8.0.4
|
References
Frequently Asked Questions
What is CVE-2014-0095?
Which Apache Tomcat versions are affected?
What version fixes CVE-2014-0095?
Is tomcat-coyote affected?
Is tomcat-embed-core affected?
What CWE is associated with CVE-2014-0095?
How can I check Maven dependencies for CVE-2014-0095?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wf5v-jhxj-q632",
"modified" : "2024-02-22T16:31:44Z",
"published" : "2022-05-17T00:24:30Z",
"aliases" : [ "CVE-2014-0095" ],
"summary" : "Denial of service in Apache Tomcat",
"details" : "java/org/apache/coyote/ajp/AbstractAjpProcessor.java in Apache Tomcat 8.x before 8.0.4 allows remote attackers to cause a denial of service (thread consumption) by using a \"Content-Length: 0\" AJP request to trigger a hang in request processing.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat-coyote"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0-RC1"
}, {
"fixed" : "8.0.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0-RC1"
}, {
"fixed" : "8.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0095"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/8884dae60ace77a87ed9385442ce429e98c3a479"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat80/commit/77590c897f0e542fe363d70efdf3b82209510aee"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/tomcat"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20140713043210/http://www.securitytracker.com/id/1030300"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20141126170141/http://www.securityfocus.com/bid/67673"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20151017043748/http://secunia.com/advisories/60729"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20161024215453/http://secunia.com/advisories/59873"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2014/May/134"
}, {
"type" : "WEB",
"url" : "http://svn.apache.org/viewvc?view=revision&revision=1578392"
}, {
"type" : "WEB",
"url" : "http://tomcat.apache.org/security-8.html"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21678231"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21681528"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-08T20:19:10Z",
"nvd_published_at" : "2014-05-31T11:17:00Z"
}
}