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

HIGH
Advisory Identifier: GHSA-2qr7-8fp8-4xxr
Published
Advisory Summary

CVE-2012-2967 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, does not properly implement the `==` operator for comparisons. Remediation is available by upgrading affected packages to version 4.0.29.

CVE-2012-2967 at a Glance

CVE Identifier CVE-2012-2967
GHSA Identifier GHSA-2qr7-8fp8-4xxr
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-2967

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-2967, 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, does not properly implement the `==` (equals sign equals sign) operator for comparisons, which has unspecified impact and context-dependent attack vectors.

CVE-2012-2967 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-2967?
CVE-2012-2967 is a security vulnerability in Resin involving Caucho Quercus, as distributed in Resin, does not properly implement the `==` operator for comparisons 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-2967?
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-2967?
CVE-2012-2967 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2012-2967?
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-2qr7-8fp8-4xxr",
  "modified" : "2025-04-12T02:54:20Z",
  "published" : "2022-05-17T05:23:56Z",
  "aliases" : [ "CVE-2012-2967" ],
  "summary" : "Caucho Quercus, as distributed in Resin, does not properly implement the `==` operator for comparisons",
  "details" : "Caucho Quercus, as distributed in Resin before 4.0.29, does not properly implement the `==` (equals sign equals sign) operator for comparisons, which has unspecified impact and context-dependent 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-2967"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20131210160901/http://en.securitylab.ru:80/lab/PT-2012-05"
  }, {
    "type" : "WEB",
    "url" : "http://en.securitylab.ru/lab"
  }, {
    "type" : "WEB",
    "url" : "http://en.securitylab.ru/lab/PT-2012-05"
  }, {
    "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:54:20Z",
    "nvd_published_at" : "2012-08-12T16:55:00Z"
  }
}