Add advisory for reqwest SSRF via default redirect policy#2668
Closed
BrianMcWilliams wants to merge 1 commit intorustsec:mainfrom
Closed
Add advisory for reqwest SSRF via default redirect policy#2668BrianMcWilliams wants to merge 1 commit intorustsec:mainfrom
BrianMcWilliams wants to merge 1 commit intorustsec:mainfrom
Conversation
Member
|
This is now the 3rd time you've sent what, as far as I can tell is an identical PR without comment or explanation. Please explain what is going on, or we'll be forced to moderate your ability to interact with this repo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This advisory reports an SSRF vulnerability in
reqwestdue to its default redirect policy following redirects to private/internal IP ranges.Vulnerability:
reqwest::redirect::Policy::default()follows up to 10 redirects without filtering targets against private IP ranges (RFC 1918, link-local, loopback, cloud metadata endpoints).Impact: Server-side applications using
reqwestto fetch user-controlled URLs are vulnerable to SSRF (CWE-918), allowing attackers to access internal services, cloud metadata (169.254.169.254), and localhost services via redirect chains.Upstream issue: seanmonstar/reqwest#2344
CVSS: 8.6 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N