Improper input validation in Deno

CVE-2024-27932

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, Deno improperly checks that an import specifier's hostname is equal to or a child of a token's hostname, which can cause tokens to be sent to servers they shouldn't be sent to. An auth token intended for `example[.]com` may be sent to `notexample[.]com`. Anyone who uses DENO_AUTH_TOKENS and imports potentially untrusted code is affected. Version 1.40.0 contains a patch for this issue

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.006 (44.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-27932?
CVE-2024-27932 is a medium-severity vulnerability in Deno, classified under Improper Input Validation. CVSS score: 4.6/10. Published 2024-03-21.
How severe is CVE-2024-27932?
Medium severity. CVSS v3 base score is 4.6 out of 10.