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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| denoland | deno | < 2.1.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | deno | <= 1.46.3 | — | GHSA-f27p-cmv8-xhm6 |
| crates.io | deno | >= 2.0.0, < 2.1.2 | 2.1.2 | GHSA-f27p-cmv8-xhm6 |
| crates.io | deno_fetch | >= 0.0.1, < 0.204.0 | 0.204.0 | GHSA-f27p-cmv8-xhm6 |