Vulnerabilities in pkg:gem/net-ldap
PACKAGECVE-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.
pkg:gem/net-ldap
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
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).
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.
Upgrade net-ldap to 0.16.2
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
CVE-2014-0083 Affected Net ldap Versions
1 component(s)| 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?
Which Net ldap versions are affected?
What version fixes CVE-2014-0083?
Is net-ldap affected?
What is the CVSS score of CVE-2014-0083?
What CWE is associated with CVE-2014-0083?
How can I check RubyGems dependencies for CVE-2014-0083?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}