SnapOtter
f64cbdda4e
fix: block hex IPv4-mapped IPv6 in SSRF guard
...
The WHATWG URL parser canonicalizes dotted IPv4-mapped IPv6 literals
(e.g. ::ffff:127.0.0.1) to hex form (::ffff:7f00:1). The SSRF guard
only checked the dotted form, so hex literals bypassed the private-IP
classifier and allowed access to loopback, cloud metadata, and RFC1918
addresses.
Decode hex IPv4-mapped suffixes to dotted IPv4 before the private-range
check.
Reported-by: tonghuaroot
2026-06-06 20:27:48 +08:00
..
2026-05-09 09:02:29 +08:00
2026-05-13 14:18:49 +08:00
2026-04-23 10:58:56 +08:00
2026-04-29 23:47:19 +08:00
2026-04-26 12:03:08 +08:00
2026-06-04 22:22:40 +08:00
2026-06-06 19:37:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 07:35:27 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 07:35:27 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 13:12:11 +08:00
2026-05-06 21:38:12 +08:00
2026-05-20 14:45:45 +08:00
2026-05-07 19:41:30 +08:00
2026-05-09 07:35:27 +08:00
2026-05-13 21:33:50 +08:00
2026-05-09 09:02:29 +08:00
2026-06-06 19:37:29 +08:00
2026-05-09 07:35:27 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 13:03:57 +08:00
2026-05-09 13:03:57 +08:00
2026-05-11 22:48:05 +08:00
2026-05-08 16:01:46 +08:00
2026-04-06 12:53:53 +08:00
2026-04-23 17:12:02 +08:00
2026-05-09 07:35:27 +08:00
2026-05-07 19:41:30 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-05-07 19:41:30 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-06-06 20:27:48 +08:00
2026-06-06 16:05:59 +08:00
2026-05-09 07:35:27 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 07:35:27 +08:00
2026-05-13 21:33:50 +08:00
2026-05-09 09:02:29 +08:00
2026-05-09 09:02:29 +08:00
2026-04-22 18:10:04 +08:00
2026-05-16 11:37:28 +08:00
2026-05-09 09:02:29 +08:00