Skip to content

Conversation

@jeremy
Copy link
Member

@jeremy jeremy commented Dec 4, 2025

  • Validate user-provided push URLs
  • Prevent DNS rebinding between restricted IP check and use

Add missing IP ranges to SsrfProtection:

  • 100.64.0.0/10 (Carrier-grade NAT, RFC6598)
  • 198.18.0.0/15 (Benchmark testing, RFC2544)

Note: link-local (169.254.0.0/16) is already covered by ip.link_local?

Add SSRF protection for web push endpoints:
- Resolve endpoint IP once and pin it for connection
- Validate endpoints resolve to public IPs
- Whitelist permitted push service hosts

Add missing IP ranges to SsrfProtection:
- 100.64.0.0/10 (Carrier-grade NAT, RFC6598)
- 198.18.0.0/15 (Benchmark testing, RFC2544)

Note: link-local (169.254.0.0/16) is already covered by ip.link_local?
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.

4 participants