phpatch.com

← phpatch.com home

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

Low · fetched 2026-12-01

### Description `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 returns a public IP and the next ones a private IP.

Our analysis

Who is affected

This advisory is PHP-relevant but does not enumerate interpreter branches: it concerns a PHP application or component — the product named in the summary above. The affected versions and the fixed release to move to are stated in the remediation and the source advisory.

Exploitation status

Not KEV-listed in this record. In the source data for this record (retrieved 2026-12-01), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.

Patch priority

Track it, and patch in the normal cycle. The drivers for this record: the source rates it Low; it affects a PHP application component rather than the interpreter. Nothing in this record indicates urgency; keep it on the list and let the regular update cadence carry it.

How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-12-01. It is a triage aid, not a substitute for the source advisory.

Remediation

Upgrade symfony/http-client to 5.4.56 or later. Upgrade symfony/http-client to 6.4.50 or later. Upgrade symfony/http-client to 7.4.23 or later.

Affected PHP branches

See the source advisory.

Check your site

Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-12-01T19:20:11-05:00 · https://github.com/advisories/GHSA-c7hm-wqwp-f9v8

← All threats