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

- 種別: advisory
- 重大度: low
- 関連技術: php, symfony
- CVE: CVE-2026-123119, CVE-2024-50342
- 公開日時: 2026-12-01T21:21:00.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-c7hm-wqwp-f9v8)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-c7hm-wqwp-f9v8

影響: composer:symfony/http-client < 5.4.56 → 5.4.56, composer:symfony/http-client >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/http-client >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/http-client >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.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…