{"id":"CVE-2025-21620","published":"2025-01-06T22:26:40Z","modified":"2025-01-07T16:49:19Z","title":"Deno's authorization headers not dropped when redirecting cross-origin","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00744,"percentile":0.50826,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-f27p-cmv8-xhm6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.17},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":["< 2.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-07T16:48:58.089267Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deno_fetch","vulnerableRanges":[">=0.0.1, <0.204.0"],"patched":["0.204.0"],"from":["GHSA-f27p-cmv8-xhm6"],"provenance":"source"},{"ecosystem":"crates.io","package":"deno","vulnerableRanges":["<=1.46.3",">=2.0.0, <2.1.2"],"patched":["2.1.2"],"from":["GHSA-f27p-cmv8-xhm6"],"provenance":"source"}],"summary":{"text":"Deno's fetch() redirect handling in the Deno runtime fails to strip the Authorization header when following a redirect to a different domain, so the original request's credentials are carried over to the new host. An attacker who can cause a request carrying an Authorization header to be redirected to a domain they control can obtain that header's contents, requiring only network access and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:48Z"},"euvd":{"id":"EUVD-2025-0024","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-27936","published":"2024-03-06","fixed":"1.41.0","kev":false},{"cve":"CVE-2024-27931","published":"2024-03-05","fixed":"1.41.1","kev":false},{"cve":"CVE-2024-34346","published":"2024-05-07","fixed":"1.43.1","kev":false},{"cve":"CVE-2025-21620","published":"2025-01-06","fixed":"2.1.2","kev":false},{"cve":"CVE-2025-24015","published":"2025-06-03","fixed":"2.1.7","kev":false,"link":{"from":"CVE-2025-21620","to":"CVE-2025-24015","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"2.1.2","toFixed":"2.1.7","daysApart":148}]}},{"cve":"CVE-2025-48935","published":"2025-06-04","fixed":"2.2.5","kev":false},{"cve":"CVE-2025-48934","published":"2025-06-04","fixed":"2.2.13","kev":false}],"package":"crates.io:deno"}}