CVE-2024-50342
mediumpriority · track · 17EPSS 0.005 · 41 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.1–4.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (19)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9c3x-r3wp-mgxmSymfony allows internal address and port enumeration by NoPrivateNetworkHttpClient2024-11-06ghsa · osvUS
### Description When using the `NoPrivateNetworkHttpClient`, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration. ### Resolution The `NoPrivateNetworkHttpClient` now filters blocked IPs earlier to prevent such leaks. The fisrt patch for this issue is available [here](https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b) for branch 5.4. The second one is available [here](https://github.com/symfony/symfony/commit/b4bf5afdbdcb2fd03da513ee03beeabeb551e5fa) for branch 5.4 also. ### Credits We would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5bcnnvd
- https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxmcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-50342cnnvd
- https://vigilance.fr/vulnerability/Symfony-information-disclosure-via-NoPrivateNetworkHttpClient-Enumeration-45640cnnvd
- https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5benisa_euvd
- https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxmenisa_euvd
- https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5bPatchnvd
- https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxmVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan