CVE-2012-4446: Qpid client Improper Authentication Vulnerability

MODERATE
Advisory Identifier: GHSA-mrgh-6x42-x6xf
CWE-287
Published
Advisory Summary

CVE-2012-4446 is a MODERATE improper authentication vulnerability (CWE-287: Improper Authentication) affecting Qpid client libraries in the Maven ecosystem. The issue involves improper authentication in apache qpid. Remediation is available by upgrading affected packages to version 0.20.

CVE-2012-4446 at a Glance

CVE Identifier CVE-2012-4446
GHSA Identifier GHSA-mrgh-6x42-x6xf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Qpid client
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2012-4446

To remediate this vulnerability, upgrade all affected Qpid client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.qpid:qpid-client fixed: 0.20
<dependency>
    <groupId>org.apache.qpid</groupId>
    <artifactId>qpid-client</artifactId>
    <version>0.20</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=org.apache.qpid

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2012-4446, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.qpid

Analyze the terminal output to locate any version of Qpid client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.20), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.qpid 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Qpid client, 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

The default configuration for Apache Qpid 0.20 and earlier, when the federation_tag attribute is enabled, accepts AMQP connections without checking the source user ID, which allows remote attackers to bypass authentication and have other unspecified impact via an AMQP request.

CVE-2012-4446 Affected Qpid client Versions

1 component(s)
Fixed Versions:
0.20
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.qpid:qpid-client
Maven
< 0.20
0.20

References

Frequently Asked Questions

What is CVE-2012-4446?
CVE-2012-4446 is a security vulnerability in Qpid client involving Improper Authentication in Apache Qpid under CWE-287: Improper Authentication.
Which Qpid client versions are affected?
Affected versions include releases prior to 0.20 across affected packages: org.apache.qpid:qpid-client.
What version fixes CVE-2012-4446?
Upgrading to 0.20 (or the latest patched release for your respective branch) resolves the vulnerability.
Is qpid-client affected?
Yes, org.apache.qpid:qpid-client is affected in releases prior to 0.20. Upgrade your dependency to 0.20 or later.
What CWE is associated with CVE-2012-4446?
CVE-2012-4446 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2012-4446?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.qpid'. 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-mrgh-6x42-x6xf",
  "modified" : "2022-07-13T15:56:19Z",
  "published" : "2022-05-17T05:13:24Z",
  "aliases" : [ "CVE-2012-4446" ],
  "summary" : "Improper Authentication in Apache Qpid",
  "details" : "The default configuration for Apache Qpid 0.20 and earlier, when the federation_tag attribute is enabled, accepts AMQP connections without checking the source user ID, which allows remote attackers to bypass authentication and have other unspecified impact via an AMQP request.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.qpid:qpid-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.20"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-4446"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=851355"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/QPID-4631"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0561.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0562.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-13T15:56:19Z",
    "nvd_published_at" : "2013-03-14T03:10:00Z"
  }
}