CVE-2024-27932
published medium CVSS 3.1 · 4.6Deno's improper suffix match testing for DENO_AUTH_TOKENS
Package status and fixes
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| denoland | deno | >= 1.8.0, < 1.40.4 (affected) | GitHub_M · cna |
| denoland | deno | 1.8.0 to < 1.40.4 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
3Provider assertions
3GitHub_M · cna
Deno's improper suffix match testing for DENO_AUTH_TOKENS
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7d4eff9ca3f425ef77c3c5601073ea8a0f597e1c60846871dc5b801077731556
- Ingested
- 23 Sep 2026, 08:21:01 UTC
- Source record
- Official CVE record