CVE-2024-27932: deno Improper Input Validation
Vulnerability summary
CVE-2024-27932 is a medium (CVSS 4.6) Improper Input Validation vulnerability in deno. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.4% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 06-03-2024PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- NVDNIST4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.59% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundDeno
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- deno≥ 1.8.0, < 1.40.4
Deno1 product
- deno≥ 1.8.0, < 1.40.4
Denoland1 product
- deno≥ 1.8.0, < 1.40.4
3 vendors · 3 products
References
5 links- github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcrX Refsource CONFIRMWEBExploitVendor Advisory
- github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rsX Refsource MISCWEBProduct
- github.com/denoland/denoPACKAGE