mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-19 02:28:08 -05:00
Canonicalize IPv4-mapped IPv6 addresses (e.g., ::ffff:127.0.0.1) to their native IPv4 form in IsReservedIP before checking against reserved IP ranges. This prevents attackers from bypassing SSRF protections by using IPv4-mapped IPv6 literals to access internal services. |
||
|---|---|---|
| .. | ||
| configservice | ||
| driver | ||
| httpservice | ||
| i18n | ||
| markdown | ||
| mlog | ||
| request | ||
| timezones | ||