Vulnerabilities in pkg:maven/com.unboundid/unboundid-ldapsdk

PACKAGE
Advisory Identifier: GHSA-qwq9-8rpf-8mp7
Advisory Summary

CVE-2018-1000134 is a CRITICAL (CVSS 9.8) weak password requirements vulnerability (CWE-521: Weak Password Requirements) affecting Unboundid ldapsdk libraries in the Maven ecosystem. The issue involves weak password requirements in unboundid ldap sdk. Remediation is available by upgrading affected packages to version 4.0.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.unboundid/unboundid-ldapsdk

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.unboundid/unboundid-ldapsdk. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qwq9-8rpf-8mp7 CVE-2018-1000134 CRITICAL Weak Password Requirements in UnboundID LDAP SDK

CVE-2018-1000134 at a Glance

CVE Identifier CVE-2018-1000134
GHSA Identifier GHSA-qwq9-8rpf-8mp7
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-521: Weak Password Requirements
Affected Product Unboundid ldapsdk
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2018-1000134

To remediate this vulnerability, upgrade all affected Unboundid ldapsdk 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.unboundid:unboundid-ldapsdk fixed: 4.0.5
<dependency>
    <groupId>com.unboundid</groupId>
    <artifactId>unboundid-ldapsdk</artifactId>
    <version>4.0.5</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.unboundid

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.unboundid

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

Note: The mvn dependency:tree -Dincludes=com.unboundid 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-521: Weak Password Requirements, where the product does not require that users should have strong passwords. In Unboundid ldapsdk, 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

UnboundID LDAP SDK version from commit 801111d8b5c732266a5dbd4b3bb0b6c7b94d7afb up to commit 8471904a02438c03965d21367890276bc25fa5a6, where the issue was reported and fixed contains an Incorrect Access Control vulnerability in process function in SimpleBindRequest class doesn't check for empty password when running in synchronous mode. The issue can result in ability to impersonate any valid user. This attack appear to be exploitable via Providing valid username and empty password against servers that do not do additional validation as per https://tools.ietf.org/html/rfc4513#section-5.1.1. This vulnerability appears to have been fixed in commit 8471904a02438c03965d21367890276bc25fa5a6.

CVE-2018-1000134 Affected Unboundid ldapsdk Versions

1 component(s)
Fixed Versions:
4.0.5
Product / Package Ecosystem Affected Versions Fixed Version
com.unboundid:unboundid-ldapsdk
Maven
≥ 1.1.0
< 4.0.5
4.0.5

References

Frequently Asked Questions

What is CVE-2018-1000134?
CVE-2018-1000134 is a security vulnerability in Unboundid ldapsdk involving Weak Password Requirements in UnboundID LDAP SDK under CWE-521: Weak Password Requirements.
Which Unboundid ldapsdk versions are affected?
Affected versions include releases prior to 4.0.5 across affected packages: com.unboundid:unboundid-ldapsdk.
What version fixes CVE-2018-1000134?
Upgrading to 4.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is unboundid-ldapsdk affected?
Yes, com.unboundid:unboundid-ldapsdk is affected in releases prior to 4.0.5. Upgrade your dependency to 4.0.5 or later.
What is the CVSS score of CVE-2018-1000134?
CVE-2018-1000134 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2018-1000134?
CVE-2018-1000134 is classified under CWE-521: Weak Password Requirements (The product does not require that users should have strong passwords.).
How can I check Maven dependencies for CVE-2018-1000134?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.unboundid'. 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-qwq9-8rpf-8mp7",
  "modified" : "2022-06-30T18:01:12Z",
  "published" : "2022-05-13T01:48:32Z",
  "aliases" : [ "CVE-2018-1000134" ],
  "summary" : "Weak Password Requirements in UnboundID LDAP SDK",
  "details" : "UnboundID LDAP SDK version from commit 801111d8b5c732266a5dbd4b3bb0b6c7b94d7afb up to commit 8471904a02438c03965d21367890276bc25fa5a6, where the issue was reported and fixed contains an Incorrect Access Control vulnerability in process function in SimpleBindRequest class doesn't check for empty password when running in synchronous mode. The issue can result in ability to impersonate any valid user. This attack appear to be exploitable via Providing valid username and empty password against servers that do not do additional validation as per https://tools.ietf.org/html/rfc4513#section-5.1.1. This vulnerability appears to have been fixed in commit 8471904a02438c03965d21367890276bc25fa5a6.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.unboundid:unboundid-ldapsdk"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "4.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000134"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pingidentity/ldapsdk/issues/40"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pingidentity/ldapsdk/commit/801111d8b5c732266a5dbd4b3bb0b6c7b94d7afb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pingidentity/ldapsdk/commit/8471904a02438c03965d21367890276bc25fa5a6#diff-f6cb23b459be1ec17df1da33760087fd"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:1713"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pingidentity/ldapsdk"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/103458"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-521" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-06-30T18:01:12Z",
    "nvd_published_at" : "2018-03-16T14:29:00Z"
  }
}