CVE-2024-27932 MEDIUM

CVE-2024-27932: Deno's improper suffix match testing for DENO_AUTH_TOKENS

Vendor Denoland
Product deno
Weakness CWE-20 · Input validation
Published March 6, 2024
Last update August 5, 2024

CVSS base score

4.6/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

March 6, 2024 CVE published
August 5, 2024 Record updated