Repository navigation
Fix/aiohttp ssrf cwe918 #28252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
DrishnaTrivedi
wants to merge
12
commits into
BerriAI:shin_agent_oss_staging_05_22_2026
from
DrishnaTrivedi:fix/aiohttp-ssrf-cwe918
Closed
Fix/aiohttp ssrf cwe918 #28252
Changes from 7 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
537db99
fix(aiohttp): block private/metadata IPs in api_base to close SSRF ga…
DrishnaTrivedi 80cea73
test(aiohttp): add coverage for all edge-case branches in SSRF guard
DrishnaTrivedi eb9914e
fix(aiohttp/ssrf): use get_running_loop and propagate gaierror in SSR…
DrishnaTrivedi a9cdbca
fix(aiohttp/ssrf): add allow_requests_to_internal_ips opt-out and fix…
DrishnaTrivedi fc7718c
fix(aiohttp/ssrf): block IPv6 unspecified address (::) to close wildc…
DrishnaTrivedi 6c22ca0
ci: trigger CI checks
DrishnaTrivedi 90ec5dc
fix(aiohttp/ssrf): use is_global for complete IP blocking and remove …
DrishnaTrivedi 1bc6fc8
fix(aiohttp/ssrf): block IP-literal URLs that bypass TCPConnector res…
DrishnaTrivedi 3aff456
fix(aiohttp/ssrf): close DNS-rebinding TOCTOU on sync path via _SSRFG…
DrishnaTrivedi 7dad714
fix(ssrf): validate IP-literal hosts directly in _SSRFGuardTransport
DrishnaTrivedi fedf0c7
fix(aiohttp/ssrf): block IP-literal redirect targets via TraceConfig
Avani-prajapati 2bde496
fix(aiohttp/ssrf): restore connection-pool caching and forward SSL co…
Avani-prajapati File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.