- Accueil
- Vulnérabilités
- CVE-2026-123119
CVE-2026-123119
Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports (Incomplete Fix for CVE-2024-50342)
Résumé
The Symfony HttpClient component NoPrivateNetworkHttpClient does not pin the checked IP address of cached hosts, allowing for DNS rebinding to bypass private network restrictions, resulting in enumeration of internal hosts and ports in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. NoPrivateNetworkHttpClient resolves the host of each request and checks the IP before connecting. It caches the result per host, and passes the IP to the decorated client through the resolve option so that the client connects to the exact IP that was checked. The issue is that resolve was only passed on the first lookup of a host: on subsequent requests, the decorated client resolved the host again on its own. An attacker who controls a host's DNS can exploit this with DNS rebinding by answering the first lookup with a public IP, and subsequent lookups with a private IP, so when an application sends several requests to that host through the same client, the later requests connect to the private IP. This happens, for example, when an application fetches several URLs of a repository provided by a user. The check of the primary_ip in the on_progress callback still aborts the request before anything is sent, but the connection is made, and the error differs depending on whether the port is open or closed. This allows enumerating internal hosts and ports, as in CVE-2024-50342.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Packagist (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| symfony/http-client | avant 5.4.56 (exclu) |
5.4.56 |
GitHub Advisory |
| symfony/http-client | de 6.0.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/http-client | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/http-client | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
| symfony/symfony | avant 5.4.56 (exclu) |
5.4.56 |
GitHub Advisory |
| symfony/symfony | de 6.0.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/symfony | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/symfony | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
Correctif
Mise à jour — Packagist/symfony/http-client 5.4.56; Packagist/symfony/http-client 6.4.50; Packagist/symfony/http-client 7.4.23; Packagist/symfony/http-client 8.1.11; Packagist/symfony/symfony 5.4.56; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Psource officielle
Packagist/symfony/http-client 5.4.56; Packagist/symfony/http-client 6.4.50; Packagist/symfony/http-client 7.4.23; Packagist/symfony/http-client 8.1.11; Packagist/symfony/symfony 5.4.56; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symfony 8.1.11
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
Références
- https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9patch
- https://github.com/symfony/symfony/security/advisories/GHSA-c7hm-wqwp-f9v8third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-123119ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2026-123119.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123119.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://github.com/symfony/symfony/releases/tag/v5.4.56WEB
- https://github.com/symfony/symfony/releases/tag/v6.4.50WEB
- https://github.com/symfony/symfony/releases/tag/v7.4.23WEB
- https://github.com/symfony/symfony/releases/tag/v8.1.11WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N(CVSS 4.0, CNA:Checkmarx)- Faiblesse
- CWE-367 · Autre (CWE-367)