{"id":"CVE-2024-50342","aliases":["GHSA-9c3x-r3wp-mgxm"],"url":"https://o3.security/vulnerability/CVE-2024-50342","summary":"Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client","details":"### Description\n\nWhen using the `NoPrivateNetworkHttpClient`, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration.\n\n### Resolution\n\nThe `NoPrivateNetworkHttpClient` now filters blocked IPs earlier to prevent such leaks.\n\nThe fisrt patch for this issue is available [here](https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b) for branch 5.4.\n\nThe second one is available [here](https://github.com/symfony/symfony/commit/b4bf5afdbdcb2fd03da513ee03beeabeb551e5fa) for branch 5.4 also.\n\n### Credits\n\nWe would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.","published":"2024-11-06T21:03:12.331Z","modified":"2026-08-12T03:51:36.236525985Z","cvss":{"score":3.1,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.00471,"percentile":0.39621,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"symfony/http-client","fixedVersion":"5.4.47"},{"ecosystem":"Packagist","name":"symfony/http-client","fixedVersion":"6.4.15"},{"ecosystem":"Packagist","name":"symfony/http-client","fixedVersion":"7.1.8"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"5.4.47"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"6.4.15"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"7.1.8"}],"fix":{"url":"https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b","label":"symfony/symfony@296d4b3"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50342.json"},{"type":"ADVISORY","url":"https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50342"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml"},{"type":"PACKAGE","url":"https://github.com/symfony/symfony"},{"type":"WEB","url":"https://symfony.com/cve-2024-50342"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.236525985Z"}}