Files
hugo/docs/data
Bjørn Erik Pedersen 24d5e42ffa config/security: Harden the default http.urls and resolved address checks (#15285)
The default IP-literal deny rule was case-sensitive, so an uppercase
scheme (e.g. HTTP://127.0.0.1/) slipped past it. Make it case-insensitive
like the other default rules.

CheckAllowedHTTPAddress relied on IsGlobalUnicast/IsPrivate, which admit
CGNAT (100.64.0.0/10), TEST-NET, benchmarking, reserved and IPv6
documentation ranges, and NAT64 addresses embedding an internal IPv4
address. Deny those explicitly and unwrap NAT64 before classifying.

Thanks to @0xdeadbab3 for finding and reporting this issue.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 13:29:38 +02:00
..