Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client
symfony
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/http-client Packagist |
|
|
| symfony/symfony Packagist |
symfony
| Product | Affected | Fixed in |
|---|---|---|
| symfony/http-client Packagist |
|
|
| symfony/symfony Packagist |
≥ 4.3.0 · < 5.4.47≥ 6.0.0 · < 6.4.15≥ 7.0.0 · < 7.1.8
|
symfony/http-client is a module for the Symphony PHP framework which provides powerful methods to fetch HTTP resources synchronously or asynchronously. When using the `NoPrivateNetworkHttpClient`, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration. As of versions 5.4.46, 6.4.14, and 7.1.7 the `NoPrivateNetworkHttpClient` now filters blocked IPs earlier to prevent such leaks. All users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
Symfony’s NoPrivateNetworkHttpClient can leak internal information during host resolution. When an application uses this client, an attacker may be able to enumerate IP addresses and ports. The input does not specify whether authentication or user interaction is required.
Teams running Packagist symfony/http-client or symfony/symfony versions >=4.3.0 <5.4.47, >=6.0.0 <6.4.15, or >=7.0.0 <7.1.8 should check their deployments.