CVE-2012-2966: Resin Caucho Quercus, As Distributed Vulnerability

HIGH
Advisory Identifier: GHSA-g5fx-ccwv-5c4f
Published
Advisory Summary

CVE-2012-2966 is a HIGH caucho quercus, as distributed vulnerability (General Security Weakness) affecting Resin libraries in the Maven ecosystem. The issue involves caucho quercus, as distributed in resin, overwrites entries in server superglobal array on basis of post parameters. Remediation is available by upgrading affected packages to version 4.0.29.

CVE-2012-2966 at a Glance

CVE Identifier CVE-2012-2966
GHSA Identifier GHSA-g5fx-ccwv-5c4f
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Resin
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2012-2966

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.

com.caucho:resin fixed: 4.0.29
<dependency>
    <groupId>com.caucho</groupId>
    <artifactId>resin</artifactId>
    <version>4.0.29</version>
</dependency>
Verify Direct and Transitive Dependencies

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-2966, 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 General Security Weakness. 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

Caucho Quercus, as distributed in Resin before 4.0.29, overwrites entries in the SERVER superglobal array on the basis of POST parameters, which has unspecified impact and remote attack vectors.

CVE-2012-2966 Affected Resin Versions

1 component(s)
Fixed Versions:
4.0.29
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-2966?
CVE-2012-2966 is a security vulnerability in Resin involving Caucho Quercus, as distributed in Resin, overwrites entries in SERVER superglobal array on basis of POST parameters under General Security Weakness.
Which Resin versions are affected?
Affected versions include releases prior to 4.0.29 across affected packages: com.caucho:resin.
What version fixes CVE-2012-2966?
Upgrading to 4.0.29 (or the latest patched release for your respective branch) resolves the vulnerability.
Is resin affected?
Yes, com.caucho:resin is affected in releases prior to 4.0.29. Upgrade your dependency to 4.0.29 or later.
What CWE is associated with CVE-2012-2966?
CVE-2012-2966 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2012-2966?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.caucho'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g5fx-ccwv-5c4f",
  "modified" : "2025-04-12T02:55:51Z",
  "published" : "2022-05-17T05:23:56Z",
  "aliases" : [ "CVE-2012-2966" ],
  "summary" : "Caucho Quercus, as distributed in Resin, overwrites entries in SERVER superglobal array on basis of POST parameters",
  "details" : "Caucho Quercus, as distributed in Resin before 4.0.29, overwrites entries in the SERVER superglobal array on the basis of POST parameters, which has unspecified impact and remote attack vectors.",
  "severity" : [ ],
  "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-2966"
  }, {
    "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" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-12T02:55:51Z",
    "nvd_published_at" : "2012-08-12T16:55:00Z"
  }
}