CVE-2024-27932CWE-20

Deno's improper suffix match testing for DENO_AUTH_TOKENS

Medium · published March 6, 2024

CVSS v3.1
4.6
EPSS
1%
Percentile
47.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
4.6 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00594 · 47.7th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-03-06T20:45Z
EPSS history
Timeline
  • 06 MAR 20:45Z
    Deno's improper suffix match testing for DENO_AUTH_TOKENS
    cvelistv5