Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. When you send a request with the Authorization header to one domain, and the response asks to redirect to a different domain, Deno'sfetch() redirect handling creates a follow-up redirect request that keeps the original Authorization header, leaking its content to that second domain. This vulnerability is fixed in 2.1.2.

Project Subscriptions

No data.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-0024 Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. When you send a request with the Authorization header to one domain, and the response asks to redirect to a different domain, Deno'sfetch() redirect handling creates a follow-up redirect request that keeps the original Authorization header, leaking its content to that second domain. This vulnerability is fixed in 2.1.2.
Github GHSA Github GHSA GHSA-f27p-cmv8-xhm6 fetch: Authorization headers not dropped when redirecting cross-origin
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 07 Jan 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jan 2025 22:30:00 +0000

Type Values Removed Values Added
Description Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. When you send a request with the Authorization header to one domain, and the response asks to redirect to a different domain, Deno'sfetch() redirect handling creates a follow-up redirect request that keeps the original Authorization header, leaking its content to that second domain. This vulnerability is fixed in 2.1.2.
Title Deno's authorization headers not dropped when redirecting cross-origin
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-01-07T16:49:19.307Z

Reserved: 2024-12-29T03:00:24.714Z

Link: CVE-2025-21620

cve-icon Vulnrichment

Updated: 2025-01-07T16:49:13.504Z

cve-icon NVD

Status : Received

Published: 2025-01-06T23:15:07.770

Modified: 2025-01-06T23:15:07.770

Link: CVE-2025-21620

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses