CVE-2012-2965: Resin Caucho Quercus, As Distributed Vulnerability
HIGHCVE-2012-2965 is a HIGH caucho quercus, as distributed vulnerability (CWE-20: Improper Input Validation) affecting Resin libraries in the Maven ecosystem. The issue involves caucho quercus, as distributed in resin, does not properly handle unspecified characters in the names of variables. Remediation is available by upgrading affected packages to version 4.0.29.
CVE-2012-2965 at a Glance
How to Fix CVE-2012-2965
To remediate this vulnerability, upgrade all affected Resin 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>com.caucho</groupId>
<artifactId>resin</artifactId>
<version>4.0.29</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.caucho
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2012-2965, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.caucho
Analyze the terminal output to locate any version of Resin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.29), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.caucho 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 Resin, 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-2012-2965 Affected Resin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.caucho:resin
|
Maven |
< 4.0.29
|
4.0.29
|
References
Frequently Asked Questions
What is CVE-2012-2965?
Which Resin versions are affected?
What version fixes CVE-2012-2965?
Is resin affected?
What CWE is associated with CVE-2012-2965?
How can I check Maven dependencies for CVE-2012-2965?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p332-fw36-4hqx",
"modified" : "2025-04-12T02:59:39Z",
"published" : "2022-05-17T05:23:56Z",
"aliases" : [ "CVE-2012-2965" ],
"summary" : "Caucho Quercus, as distributed in Resin, does not properly handle unspecified characters in the names of variables",
"details" : "Caucho Quercus, as distributed in Resin before 4.0.29, does not properly handle unspecified characters in the names of variables, which has unknown impact and remote attack vectors, related to an \"HTTP Parameter Contamination\" issue.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.caucho:resin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.29"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-2965"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20131210160901/http://en.securitylab.ru:80/lab/PT-2012-05"
}, {
"type" : "WEB",
"url" : "http://caucho.com/resin-4.0/changes/changes.xtp"
}, {
"type" : "WEB",
"url" : "http://en.securitylab.ru/lab"
}, {
"type" : "WEB",
"url" : "http://www.kb.cert.org/vuls/id/309979"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T02:59:39Z",
"nvd_published_at" : "2012-08-12T16:55:00Z"
}
}