Files
romm/backend/utils
Claude 009d358175 fix(security): resolve hostnames in SSRF URL validator
validate_url_for_http_request previously skipped DNS resolution, so
attacker-controlled domains that resolve to private/loopback/link-local
addresses (e.g. 127.0.0.1.nip.io) passed validation and the subsequent
httpx GET hit internal services. Resolve the hostname via getaddrinfo
and reject any result whose IP is private, loopback, link-local,
reserved, multicast, or unspecified. Unresolvable hostnames are
rejected as well.

https://claude.ai/code/session_01T335ZvA825YhuzPctmYzUy
2026-05-27 12:33:36 +00:00
..
2026-03-22 17:17:14 -04:00
2025-09-04 11:17:00 -03:00
2026-03-15 09:34:48 -04:00
2026-04-02 10:21:43 -04:00
2026-05-19 07:52:43 -04:00