Files
romm/backend/utils
Georges-Antoine Assi 8a43ae3009 fix: allow NAT64-wrapped public IPs through SSRF filter
DNS64/NAT64 networks synthesize IPv6 answers that embed a public IPv4
in the RFC 6052 well-known prefix 64:ff9b::/96. The SSRF classifier
rejected these because the prefix is is_reserved, breaking all outbound
metadata and cover fetching on NAT64-only deployments.

is_forbidden_ip now unwraps a NAT64-wrapped address and evaluates the
embedded IPv4 instead, so a wrapped public IPv4 is allowed while a
wrapped private/internal IPv4 (e.g. 127.0.0.1, 10.0.0.1) stays blocked.

Fixes #3668

Generated-By: PostHog Code
Task-Id: 73b38615-966e-4955-9228-2cb6bbcda277
2026-07-04 22:16:09 -04:00
..
2025-09-04 11:17:00 -03:00
2026-06-21 17:42:25 -04:00
2026-05-30 20:26:29 -04:00
2026-06-23 22:38:43 -04:00
2026-06-28 21:48:50 -04:00
2026-06-07 08:29:49 -04:00