Symfony
Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 5.4.0 to 5.4.53, 6.4.41, 7.4.13, and 8.0.13, NoPrivateNetworkHttpClient and IpUtils::PRIVATE_SUBNETS omitted IPv6 transition prefixes such as 6to4, NAT64, Teredo, and IPv4-compatible IPv6, allowing attacker-supplied URLs to represent private IPv4 targets in forms that IpUtils::isPrivateIp() did not block. This issue is fixed in versions 5.4.53, 6.4.41, 7.4.13, and 8.0.13.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.4.0, < 5.4.53
- >= 6.0.0-BETA1, < 6.4.41
- >= 7.0.0-BETA1, < 7.4.13
- >= 8.0.0-BETA1, < 8.0.13
Fixed in 5.4.53, 6.4.41, 7.4.13, 8.0.13
- >= 5.4.0, < 5.4.53
Fixed in 5.4.53
- >= 6.0.0-BETA1, < 6.4.41
- >= 7.0.0-BETA1, < 7.4.13
- >= 8.0.0-BETA1, < 8.0.13
Fixed in 6.4.41, 7.4.13, 8.0.13
Mitigation
Upgrade symfony to 5.4.53 or 6.4.41 or 7.4.13 or 8.0.13 or later.
Upgrade http-client to 5.4.53 or later.
Upgrade http-foundation to 6.4.41 or 7.4.13 or 8.0.13 or later.
References
- Vendor advisory github.com/symfony/symfony/security/advisories…
- Patch github.com/symfony/symfony/commit/82765368cf74…
- Patch github.com/symfony/symfony/commit/85b831555be8…
3 more
- Release notes github.com/symfony/symfony/releases/tag/v5.4.5…
- Release notes github.com/symfony/symfony/releases/tag/v6.4.4…
- Release notes github.com/symfony/symfony/releases/tag/v7.4.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.