CVE-2006-5170: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-3mcc-2cg8-vvjx
CWE-755
Published
Advisory Summary

CVE-2006-5170 is a HIGH security vulnerability vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not handle or incorrectly handles an exceptional condition.. Remediation is available in the latest vendor maintenance releases.

CVE-2006-5170 at a Glance

CVE Identifier CVE-2006-5170
GHSA Identifier GHSA-3mcc-2cg8-vvjx
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-755: Improper Handling of Exceptional Conditions
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2006-5170

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

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

How to Check if You Are Affected

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

mvn dependency:tree

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

Note: The mvn dependency:tree 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-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Software, 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

pam_ldap in nss_ldap on Red Hat Enterprise Linux 4, Fedora Core 3 and earlier, and possibly other distributions does not return an error condition when an LDAP directory server responds with a PasswordPolicyResponse control response, which causes the pam_authenticate function to return a success code even if authentication has failed, as originally reported for xscreensaver.

References

NVD — CVE-2006-5170 NVD
https://nvd.nist.gov/vuln/detail/CVE-2006-5170
bugzilla.redhat.com/bugzilla/show_bug.c... WEB
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=207286
issues.rpath.com/browse/rpl-680 WEB
https://issues.rpath.com/browse/RPL-680
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10418
bugzilla.padl.com/show_bug.cgi WEB
http://bugzilla.padl.com/show_bug.cgi?id=291
rhn.redhat.com/errata/rhsa-2006-07... WEB
http://rhn.redhat.com/errata/RHSA-2006-0719.html
secunia.com/advisories/22682 WEB
http://secunia.com/advisories/22682
secunia.com/advisories/22685 WEB
http://secunia.com/advisories/22685
secunia.com/advisories/22694 WEB
http://secunia.com/advisories/22694
secunia.com/advisories/22696 WEB
http://secunia.com/advisories/22696
secunia.com/advisories/22869 WEB
http://secunia.com/advisories/22869
secunia.com/advisories/23132 WEB
http://secunia.com/advisories/23132
secunia.com/advisories/23428 WEB
http://secunia.com/advisories/23428
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200612-19.xml
Software Security Information SECURITY
http://securitytracker.com/id?1017153
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1203
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2006:201
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2006_27_sr.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/447859/100/200/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/20880
www.trustix.org/errata/2006/0061 WEB
http://www.trustix.org/errata/2006/0061
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2006/4319

Frequently Asked Questions

What is CVE-2006-5170?
CVE-2006-5170 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-755: Improper Handling of Exceptional Conditions.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2006-5170?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2006-5170?
CVE-2006-5170 is classified under CWE-755: Improper Handling of Exceptional Conditions (The product does not handle or incorrectly handles an exceptional condition.).
How can I check Maven dependencies for CVE-2006-5170?
Run the dependency tree command: 'mvn dependency:tree'. 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-3mcc-2cg8-vvjx",
  "modified" : "2025-04-09T03:31:56Z",
  "published" : "2022-05-01T07:25:31Z",
  "aliases" : [ "CVE-2006-5170" ],
  "details" : "pam_ldap in nss_ldap on Red Hat Enterprise Linux 4, Fedora Core 3 and earlier, and possibly other distributions does not return an error condition when an LDAP directory server responds with a PasswordPolicyResponse control response, which causes the pam_authenticate function to return a success code even if authentication has failed, as originally reported for xscreensaver.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-5170"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=207286"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-680"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10418"
  }, {
    "type" : "WEB",
    "url" : "http://bugzilla.padl.com/show_bug.cgi?id=291"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2006-0719.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/22682"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/22685"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/22694"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/22696"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/22869"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/23132"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/23428"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200612-19.xml"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1017153"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1203"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2006:201"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2006_27_sr.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/447859/100/200/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/20880"
  }, {
    "type" : "WEB",
    "url" : "http://www.trustix.org/errata/2006/0061"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2006/4319"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-755" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2006-10-10T04:06:00Z"
  }
}