# CVE-2024-50342: Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-11-06T15:16:09.000Z
- Modified: 2026-06-17T08:04:16.270Z
- Also known as: GHSA-9c3x-r3wp-mgxm
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- symfony symfony: < 5.4.46; >= 6.0.0, < 6.4.14; >= 7.0.0, < 7.1.7
- symfony/http-client (Packagist): from 4.3.0 before 5.4.47; from 6.0.0 before 6.4.15; from 7.0.0 before 7.1.8
- symfony/symfony (Packagist): from 4.3.0 before 5.4.47; from 6.0.0 before 6.4.15; from 7.0.0 before 7.1.8
- sensiolabs httpclient: before 5.4.46; from 6.0.0 before 6.4.14; from 7.0.0 before 7.1.7

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm> (vendor-advisory, web)
- <https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b> (patch, 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)

## Sources

- CVE List: [CVE-2024-50342](https://www.cve.org/CVERecord?id=CVE-2024-50342), CVE Terms of Use, modified 2024-11-07
- GitHub Advisory Database: [GHSA-9c3x-r3wp-mgxm](https://github.com/advisories/GHSA-9c3x-r3wp-mgxm), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2024-50342](https://nvd.nist.gov/vuln/detail/CVE-2024-50342), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50342 · Whole record: https://cve.day/CVE-2024-50342.json · Rebuilt by cve.day 2026-11-25T22:58:47.846Z
