CVE-2012-5604: Ldap fluff Authentication Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-9whh-582r-589h
Published
Advisory Summary

CVE-2012-5604 is a MODERATE authentication bypass vulnerability (General Security Weakness) affecting Ldap fluff libraries in the RubyGems ecosystem. The issue involves ldap_fluff authentication bypass. Remediation is available by upgrading affected packages to version 0.4.0.

CVE-2012-5604 at a Glance

CVE Identifier CVE-2012-5604
GHSA Identifier GHSA-9whh-582r-589h
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Ldap fluff
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2012-5604

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

ldap_fluff fixed: 0.4.0
Upgrade ldap_fluff to 0.4.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for ldap_fluff

How to Check if You Are Affected

To determine whether your application is affected by CVE-2012-5604, inspect your project dependencies for Ldap fluff:

inspect dependencies for ldap_fluff

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Ldap fluff, 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 ldap_fluff gem for Ruby, as used in Red Hat CloudForms 1.1, when using Active Directory for authentication, allows remote attackers to bypass authentication via unspecified vectors.

CVE-2012-5604 Affected Ldap fluff Versions

1 component(s)
Fixed Versions:
0.4.0
Product / Package Ecosystem Affected Versions Fixed Version
ldap_fluff
RubyGems
< 0.4.0
0.4.0

References

Frequently Asked Questions

What is CVE-2012-5604?
CVE-2012-5604 is a security vulnerability in Ldap fluff involving ldap_fluff authentication bypass under General Security Weakness.
Which Ldap fluff versions are affected?
Affected versions include releases prior to 0.4.0 across affected packages: ldap_fluff.
What version fixes CVE-2012-5604?
Upgrading to 0.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ldap_fluff affected?
Yes, ldap_fluff is affected in releases prior to 0.4.0. Upgrade your dependency to 0.4.0 or later.
What CWE is associated with CVE-2012-5604?
CVE-2012-5604 is classified under General Security Weakness.
How can I check RubyGems dependencies for CVE-2012-5604?
Run the dependency tree command: 'inspect dependencies for ldap_fluff'. 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-9whh-582r-589h",
  "modified" : "2023-01-26T23:52:39Z",
  "published" : "2022-05-14T03:24:09Z",
  "aliases" : [ "CVE-2012-5604" ],
  "summary" : "ldap_fluff authentication bypass",
  "details" : "The ldap_fluff gem for Ruby, as used in Red Hat CloudForms 1.1, when using Active Directory for authentication, allows remote attackers to bypass authentication via unspecified vectors.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "ldap_fluff"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-5604"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/theforeman/ldap_fluff/commit/e4c90a522275aeaa48ca9982ce75597f0954af48"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=882136"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/theforeman/ldap_fluff"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-26T23:52:39Z",
    "nvd_published_at" : "2013-03-01T05:40:00Z"
  }
}