Skip to content

Fix: Hardening DefaultConnectionFactory against Blind SSRF via redirects#160

Open
ngaturjiwo77-hue wants to merge 1 commit into
google:masterfrom
ngaturjiwo77-hue:master
Open

Fix: Hardening DefaultConnectionFactory against Blind SSRF via redirects#160
ngaturjiwo77-hue wants to merge 1 commit into
google:masterfrom
ngaturjiwo77-hue:master

Conversation

@ngaturjiwo77-hue

Copy link
Copy Markdown

This PR disables automatic redirect following in HttpURLConnection. As identified in the Tsunami architecture, allowing automatic redirects can be weaponized to target internal metadata services (169.254.169.254) or local gRPC language servers (127.0.0.1) exposed via RemoteVulnDetectorLoadingModule.

@google-cla

google-cla Bot commented Apr 23, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ngaturjiwo77-hue

ngaturjiwo77-hue commented Apr 23, 2026

Copy link
Copy Markdown
Author

@google-cla check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant