CVE-2024-50342
MEDIUM 4.3CVSS 3.1Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient
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.
- Published
- 6 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-200
- Also known as
- GHSA-9c3x-r3wp-mgxm
- Sources
- NVDJSONOSV GHSA-9c3x-r3wp-mgxmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | httpclientcpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* |
< 5.4.46 | 5.4.46 |
| NVD | sensiolabs | httpclientcpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.4.14 | 6.4.14 |
| NVD | sensiolabs | httpclientcpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.1.7 | 7.1.7 |
| OSV | Packagist | symfony/http-client | >= 4.3.0, < 5.4.47 | 5.4.47 |
| OSV | Packagist | symfony/http-client | >= 6.0.0, < 6.4.15 | 6.4.15 |
| OSV | Packagist | symfony/http-client | >= 7.0.0, < 7.1.8 | 7.1.8 |
| OSV | Packagist | symfony/symfony | >= 4.3.0, < 5.4.47 | 5.4.47 |
| OSV | Packagist | symfony/symfony | >= 6.0.0, < 6.4.15 | 6.4.15 |
| OSV | Packagist | symfony/symfony | >= 7.0.0, < 7.1.8 | 7.1.8 |
References
- https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b · Patch, WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-50342 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://symfony.com/cve-2024-50342 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Nov 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Nov 2024)