Credential disclosure via retained cross-origin Authorization header
Published Jan 6, 2025 · Updated Jan 7, 2025
Information disclosure in Deno before 2.1.2 allows remote attackers to read Authorization headers through cross-origin redirects. The fetch() redirect handler constructs a follow-up request for a different origin without removing the original request's Authorization header. Exploitation requires an application to send credentials with fetch() and follow a redirect to an attacker-observable origin, exposing the complete header value without altering data or interrupting service.
Summary
What happened
Information disclosure in Deno before 2.1.2 allows remote attackers to read Authorization headers through cross-origin redirects. The fetch() redirect handler constructs a follow-up request for a different origin without removing the original request's Authorization header. Exploitation requires an application to send credentials with fetch() and follow a redirect to an attacker-observable origin, exposing the complete header value without altering data or interrupting service.
The record
- CVE
- CVE-2025-21620
- Published
- Jan 6, 2025
- Updated
- Jan 7, 2025
- Vendor
- Deno Land Inc.
- Product
- Deno
- Classifications
- CWE-200, T1528
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 6, 2025CVE publishedPublication date reported by the CVE source.
- Jan 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.1.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Vendor cross-origin redirect reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo