CVE-2016-1000238: Spoofing attack due to unvalidated KDC in node-krb5

node-krb5 Updated 02 Oct 2025

Summary

01/09/2020
No i
Moderate
Not published

CVE-2016-1000238: Spoofing attack due to unvalidated KDC in node-krb5. Affects node-krb5 versions >= 0.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The node-krb5 package is an npm package that provides functionality for Kerberos authentication in Node.js applications. Kerberos is a network authentication protocol that allows secure communication over an insecure network. The node-krb5 package allows Node.js applications to authenticate with a Key Distribution Center (KDC) using the Kerberos protocol. However, the package is vulnerable to a spoofing attack due to the lack of validation of the KDC prior to authentication.

Vulnerability Detail

The vulnerability in node-krb5 allows an attacker with network access and enough time to spoof the KDC and impersonate a valid user without knowing their credentials. This can lead to unauthorized access to sensitive resources and potential data breaches. The vulnerability has been assigned the CVE identifier CVE-2016-1000238. The vulnerability has a moderate severity rating.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. The recommended approach is to switch to an alternative module as mentioned in the 'how_to_fix' section.

Conclusion

The node-krb5 package is vulnerable to a spoofing attack due to the lack of validation of the KDC. Unfortunately, there is no fix available for this vulnerability. The best approach is to switch to an alternative module that is actively maintained and provides similar functionality. It is recommended to migrate to one of the alternative modules mentioned in the 'how_to_fix' section. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for node-krb5 →

Share this vulnerability

FAQ

The vulnerability allows an attacker to impersonate a valid user without knowing their credentials, potentially leading to unauthorized access and data breaches.

No, it appears that this vulnerability will remain unfixed indefinitely. The recommended approach is to switch to an alternative module.

Yes, there are multiple alternative modules available on npm that provide similar functionality and are actively maintained.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file and the Vulert Playground will analyze it for vulnerabilities.

You can refer to the official documentation of Kerberos for more information on how it works and how to implement secure authentication in your applications.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback