CVE-2024-27932

Deno's improper suffix match testing for DENO_AUTH_TOKENS

MEDIUM
4.6
CVSS Score
Published: March 6, 2024 at 08:45 PM UTC
Updated: June 17, 2026 at 07:20 AM UTC
2 products affected across 2 vendorsDenoDeno

Using deno by denoland?

Get instant alerts when new vulnerabilities affect deno - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.6
Exploit prediction
EPSS 0.6%
SSVC
PoC

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
1.8.0 ≤ v < 1.40.4
Affected range stops below 1.40.4, so it looks safe — our inference, not a vendor statement
v < 1.40.41.8.0 ≤ v < 1.40.41.8.0
Affected range stops below 1.40.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.6MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-20NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card