Vulnerabilities in pkg:gem/net-ldap

PACKAGE
Advisory Identifier: GHSA-qwgm-mxm4-3q2c
Advisory Summary

CVE-2014-0083 is a MODERATE (CVSS 5.5) net-ldap has weak salt when vulnerability (CWE-916: Use of Password Hash With Insufficient Computational Effort) affecting Net ldap libraries in the RubyGems ecosystem. The issue involves net-ldap has weak salt when generating passwords. Remediation is available by upgrading affected packages to version 0.16.2.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/net-ldap

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/net-ldap. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qwgm-mxm4-3q2c CVE-2014-0083 MODERATE net-ldap has weak salt when generating passwords
GHSA-m7p8-9w66-9frm CVE-2017-17718 MODERATE net-ldap Improper Certificate Validation vulnerability

CVE-2014-0083 at a Glance

CVE Identifier CVE-2014-0083
GHSA Identifier GHSA-qwgm-mxm4-3q2c
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-916: Use of Password Hash With Insufficient Computational Effort
Affected Product Net ldap
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

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

How to Fix CVE-2014-0083

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

net-ldap fixed: 0.16.2
Upgrade net-ldap to 0.16.2
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 net-ldap

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-0083, inspect your project dependencies for Net ldap:

inspect dependencies for net-ldap

Analyze the terminal output to locate any version of Net ldap in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.16.2), 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 CWE-916: Use of Password Hash With Insufficient Computational Effort, where the product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive. In Net ldap, 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 Ruby net-ldap gem before 0.16.2 uses a weak salt when generating SSHA passwords.

CVE-2014-0083 Affected Net ldap Versions

1 component(s)
Fixed Versions:
0.16.2
Product / Package Ecosystem Affected Versions Fixed Version
net-ldap
RubyGems
< 0.16.2
0.16.2

References

Frequently Asked Questions

What is CVE-2014-0083?
CVE-2014-0083 is a security vulnerability in Net ldap involving net-ldap has weak salt when generating passwords under CWE-916: Use of Password Hash With Insufficient Computational Effort.
Which Net ldap versions are affected?
Affected versions include releases prior to 0.16.2 across affected packages: net-ldap.
What version fixes CVE-2014-0083?
Upgrading to 0.16.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is net-ldap affected?
Yes, net-ldap is affected in releases prior to 0.16.2. Upgrade your dependency to 0.16.2 or later.
What is the CVSS score of CVE-2014-0083?
CVE-2014-0083 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2014-0083?
CVE-2014-0083 is classified under CWE-916: Use of Password Hash With Insufficient Computational Effort (The product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive.).
How can I check RubyGems dependencies for CVE-2014-0083?
Run the dependency tree command: 'inspect dependencies for net-ldap'. 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-qwgm-mxm4-3q2c",
  "modified" : "2023-01-24T16:02:54Z",
  "published" : "2022-05-24T22:01:17Z",
  "aliases" : [ "CVE-2014-0083" ],
  "summary" : "net-ldap has weak salt when generating passwords",
  "details" : "The Ruby net-ldap gem before 0.16.2 uses a weak salt when generating SSHA passwords.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "net-ldap"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.16.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0083"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ruby-ldap/ruby-net-ldap/commit/b412ca05f6b430eaa1ce97ac95885b4cf187b04a"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-0083"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2014-0083"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ruby-ldap/ruby-net-ldap"
  }, {
    "type" : "WEB",
    "url" : "https://security-tracker.debian.org/tracker/CVE-2014-0083"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-916" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-24T16:02:54Z",
    "nvd_published_at" : "2019-11-21T14:15:00Z"
  }
}