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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Aliases:** GHSA-4v9q-hm2p-68c4
- **Published:** 2020-09-01T15:57:01.000Z
- **Modified:** 2023-11-08T03:58:08.274Z

## Who should check

- Projects that depend on npm package node-krb5 (\>= 0.0.0)

## 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.\](https://www.npmjs.com/search?q=kerberos).

## Affected and fixed versions

- npm `node-krb5`: affected \>= 0.0.0; fixed no fix listed yet (osv)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2016-1000238. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2016-1000238.md
Affected: node-krb5 >= 0.0.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for node-krb5 (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2016-1000238 being exploited?

There is no confirmed exploitation: CVE-2016-1000238 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2016-1000238?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2016-1000238?

node-krb5 \>= 0.0.0.

### Is there a fix for CVE-2016-1000238?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2016-1000238?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2016-1000238>
- other: <https://github.com/qesuto/node-krb5/issues/13>
- other: <https://github.com/qesuto/node-krb5>
- other: <https://www.npmjs.com/advisories/136>
- other: <http://archive.hack.lu/2010/Bouillon-Stealing-credentials-for-impersonation.pdf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4v9q-hm2p-68c4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2016-1000238> · JSON: <https://flawdb.com/api/v1/entries/CVE-2016-1000238>
