← Vulnerabilities

LowAdvisoryPHPSymfony

Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342

Affected

PackageAffected versionsFixed in
composer:symfony/http-client< 5.4.565.4.56
composer:symfony/http-client>= 6.0.0, < 6.4.506.4.50
composer:symfony/http-client>= 7.0.0, < 7.4.237.4.23
composer:symfony/http-client>= 8.0.0, < 8.1.118.1.11
composer:symfony/symfony< 5.4.565.4.56
Show all (8)
PackageAffected versionsFixed in
composer:symfony/symfony>= 6.0.0, < 6.4.506.4.50
composer:symfony/symfony>= 7.0.0, < 7.4.237.4.23
composer:symfony/symfony>= 8.0.0, < 8.1.118.1.11

NoPrivateNetworkHttpClient resolves the host of each request and checks the IP before connecting. To make the decorated client connect to that same IP, it passes the IP with the resolve option. It also caches the IP of each host. But it passed the IP with resolve only when it resolved a host for the first time. On the next requests to the same host, the decorated client resolved the host again by itself. An attacker who controls the DNS of a host can use DNS rebinding. The first lookup then ret…

Read on GitHub Advisory Database

On 12/02/2026, 06:21 AM, GitHub Advisory Database published "Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342" (type: Advisory). Severity is "Low" (low). Related technologies: PHP, Symfony. CVE: CVE-2026-123119, CVE-2024-50342.