Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony | before 5.4.46; 6.0.0 to before 6.4.14; 7.0.0 to before 7.1.7 | 5.4.46, 6.4.14, 7.1.7 | Patch available | CNA |
| — | symfony/http-client (Packagist) | 4.3.0 to before 5.4.47 | 5.4.47 | Patch available | GHSA-9c3x-r3wp-mgxm |
| — | symfony/http-client (Packagist) | 6.0.0 to before 6.4.15 | 6.4.15 | Patch available | GHSA-9c3x-r3wp-mgxm |
| — | symfony/http-client (Packagist) | 7.0.0 to before 7.1.8 | 7.1.8 | Patch available | GHSA-9c3x-r3wp-mgxm |
| — | symfony/symfony (Packagist) | 4.3.0 to before 5.4.47 | 5.4.47 | Patch available | GHSA-9c3x-r3wp-mgxm |
| — | symfony/symfony (Packagist) | 6.0.0 to before 6.4.15 | 6.4.15 | Patch available | GHSA-9c3x-r3wp-mgxm |
| — | symfony/symfony (Packagist) | 7.0.0 to before 7.1.8 | 7.1.8 | Patch available | GHSA-9c3x-r3wp-mgxm |
- symfony Vendorsymfony Affected before 5.4.46; 6.0.0 to before 6.4.14; 7.0.0 to before 7.1.7 Fixed in 5.4.46, 6.4.14, 7.1.7 Patch available CNA
- symfony/http-client (Packagist) Vendor— Affected 4.3.0 to before 5.4.47 Fixed in 5.4.47 Patch available GHSA-9c3x-r3wp-mgxm
- symfony/http-client (Packagist) Vendor— Affected 6.0.0 to before 6.4.15 Fixed in 6.4.15 Patch available GHSA-9c3x-r3wp-mgxm
- symfony/http-client (Packagist) Vendor— Affected 7.0.0 to before 7.1.8 Fixed in 7.1.8 Patch available GHSA-9c3x-r3wp-mgxm
- symfony/symfony (Packagist) Vendor— Affected 4.3.0 to before 5.4.47 Fixed in 5.4.47 Patch available GHSA-9c3x-r3wp-mgxm
- symfony/symfony (Packagist) Vendor— Affected 6.0.0 to before 6.4.15 Fixed in 6.4.15 Patch available GHSA-9c3x-r3wp-mgxm
- symfony/symfony (Packagist) Vendor— Affected 7.0.0 to before 7.1.8 Fixed in 7.1.8 Patch available GHSA-9c3x-r3wp-mgxm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* | before 5.4.46; 6.0.0 to before 6.4.14; 7.0.0 to before 7.1.7 | Vulnerable | sensiolabs |
- cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* Versions before 5.4.46; 6.0.0 to before 6.4.14; 7.0.0 to before 7.1.7 Vulnerable ·sensiolabs
Remediation
- Fix · CNA symfony (symfony) Fixed in 5.4.46, 6.4.14, 7.1.7
- Fix · GHSA-9c3x-r3wp-mgxm symfony/http-client (Packagist) Fixed in 5.4.47 Advisory →
- Fix · GHSA-9c3x-r3wp-mgxm symfony/http-client (Packagist) Fixed in 6.4.15 Advisory →
- Fix · GHSA-9c3x-r3wp-mgxm symfony/http-client (Packagist) Fixed in 7.1.8 Advisory →
- Fix · GHSA-9c3x-r3wp-mgxm symfony/symfony (Packagist) Fixed in 5.4.47 Advisory →
- Fix · GHSA-9c3x-r3wp-mgxm symfony/symfony (Packagist) Fixed in 6.4.15 Advisory →
- Fix · GHSA-9c3x-r3wp-mgxm symfony/symfony (Packagist) Fixed in 7.1.8 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-50342
- 2026-10-03 Alias added: GHSA-9c3x-r3wp-mgxm
References
Advisory 2
More symfony vulnerabilities
- TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
- TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
Sources
- CVE-2024-50342 · CVE Program
- CVE-2024-50342 · NVD
- FIRST EPSS
- GHSA-9c3x-r3wp-mgxm · GitHub Advisory Database · CC BY 4.0
- CVE-2024-50342 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences