Advisory

GHSA-wrr5-j383-f7h2

Details, part 2 of 2. The advisory

Details

  1. Resolve DNS and validate the final resolved IP address before making the outbound request.
  1. Revalidate the target after redirects.
  1. Add SSRF regression tests for:
localhost
127.0.0.1
Docker service names
private IP ranges
Docker gateway IP
169.254.169.254
redirects to private IP ranges

Sources & licences