Skip to content

Spoofing attack due to unvalidated KDC in node-krb5

Moderate severity GitHub Reviewed Published Sep 1, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm node-krb5 (npm)

Affected versions

>= 0.0.0

Patched versions

None

Description

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.

Recommendation

It 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.

At 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..

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 1, 2020
Last updated Jan 9, 2023

Severity

Moderate

EPSS score

Weaknesses

No CWEs

CVE ID

CVE-2016-1000238

GHSA ID

GHSA-4v9q-hm2p-68c4

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.