symfony/http-foundation is vulnerable to Server-Side Request Forgery (SSRF)
65
Medium Risk
The IpUtils::PRIVATE_SUBNETS constant and IpUtils::isPrivateIp() helper enumerate private IPv4 and common IPv6 ranges but omit IPv6 transition forms that embed private IPv4 addresses. An attacker who can supply a URL may use 6to4, Teredo, NAT64, or IPv4-compatible IPv6 literals so NoPrivateNetworkHttpClient and other callers treat the target as public and dispatch the request. Pre-fix versions cross the decorator's private-network boundary even when the embedded address is loopback or RFC1918. The fix adds the missing transition prefixes to PRIVATE_SUBNETS and covers them in tests.
You are affected if you are using a version that falls within the vulnerable range.
symfony/http-foundation is vulnerable to Server-Side Request Forgery (SSRF) in versions 6.4.0 - 6.4.40, 7.0.0 - 7.4.12 and 8.0.0 - 8.0.12.
Upgrade the symfony/http-foundation and/or the symfony/symfony library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant