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
Published: 2024-03-06
Score: 4.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-0827 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
Github GHSA Github GHSA GHSA-5frw-4rwq-xhcr Deno's improper suffix match testing for DENO_AUTH_TOKENS
History

Fri, 03 Jan 2025 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Deno
Deno deno
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
Vendors & Products Deno
Deno deno

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-05T16:59:34.779Z

Reserved: 2024-02-28T15:14:14.216Z

Link: CVE-2024-27932

cve-icon Vulnrichment

Updated: 2024-08-02T00:41:55.783Z

cve-icon NVD

Status : Analyzed

Published: 2024-03-21T02:52:21.953

Modified: 2025-01-03T19:19:52.197

Link: CVE-2024-27932

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses