CVE-2016-1000238: Node krb5 Spoofing Attack Due To Unvalidated Vulnerability
MODERATECVE-2016-1000238 is a MODERATE spoofing attack due to unvalidated vulnerability (General Security Weakness) affecting Node krb5 libraries in the npm ecosystem. The issue involves spoofing attack due to unvalidated kdc in node-krb5. Remediation is available in the latest vendor maintenance releases.
CVE-2016-1000238 at a Glance
How to Fix CVE-2016-1000238
To remediate this vulnerability, upgrade all affected Node krb5 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install node-krb5@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-krb5
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2016-1000238, inspect your project dependencies using npm:
npm ls node-krb5
Analyze the terminal output to locate any version of Node krb5 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 npm ls node-krb5 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Node krb5, 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-2016-1000238 Affected Node krb5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-krb5
|
npm |
≥ 0.0.0
|
|
References
Frequently Asked Questions
What is CVE-2016-1000238?
Which Node krb5 versions are affected?
What version fixes CVE-2016-1000238?
Is node-krb5 affected?
What CWE is associated with CVE-2016-1000238?
How can I check npm dependencies for CVE-2016-1000238?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4v9q-hm2p-68c4",
"modified" : "2021-09-23T21:35:22Z",
"published" : "2020-09-01T15:57:01Z",
"aliases" : [ "CVE-2016-1000238" ],
"summary" : "Spoofing attack due to unvalidated KDC in node-krb5",
"details" : "Affected versions of `node-krb5` do not validate the KDC prior to authenticating, which might allow an attacker with network access and enough time to spoof the KDC and impersonate a valid user without knowing their credentials.\n\n\n## Recommendation\n\nIt appears that this will remain unfixed indefinitely, as the Github issue for this vulnerability has been open since 2015, with no work on it since then.\n\nAt this time, the best available mitigation is to use an alternative module that is actively maintained and provides similar functionality. There are [multiple modules fitting this criteria available on npm.](https://www.npmjs.com/search?q=kerberos).",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-krb5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-1000238"
}, {
"type" : "WEB",
"url" : "https://github.com/qesuto/node-krb5/issues/13"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/qesuto/node-krb5"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/136"
}, {
"type" : "WEB",
"url" : "http://archive.hack.lu/2010/Bouillon-Stealing-credentials-for-impersonation.pdf"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:12:06Z",
"nvd_published_at" : null
}
}