Live threats

All CVEs / Deno

CVE-2024-27932Deno

Medium 4.6

Priority
28
CVSS 3.1
4.6
EPSS
0.6%
probability of exploitation in 30 days · percentile 45
Auth required
Yes
Published
Mar 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Deno.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io deno ≥ 1.8.0 < 1.40.4 1.40.4 cargo update -p deno --precise 1.40.4

Per OSV / GitHub Advisories (GHSA-5frw-4rwq-xhcr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
denodeno≥ 1.8.0 < 1.40.4

Official sources

References

Links published by the sources. Open them with care.