{"id":"CVE-2024-50342","summary":"Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client","details":"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.","aliases":["GHSA-9c3x-r3wp-mgxm"],"modified":"2026-04-30T12:12:17.541109Z","published":"2024-11-06T21:03:12.331Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50342.json","cwe_ids":["CWE-200"],"cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/http-client","events":[{"introduced":"0"},{"fixed":"ebcaeeafc48b69f497f82b9700ddf54bfe975f71"},{"introduced":"39f34cd5d28cd263b95a58ebad18421b6fefc4ba"},{"fixed":"05d88cbd816ad6e0202edd9a9963cb9d615b8826"},{"introduced":"c3e90d09b3c45a5d47170e81a712d51c352cbc68"},{"fixed":"90ab2a4992dcf5d1f19a9b8737eba36a7c305fd0"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.4.46"},{"introduced":"6.0.0"},{"fixed":"6.4.14"},{"introduced":"7.0.0"},{"fixed":"7.1.7"}]}}],"versions":["v4.3.0-BETA1","v5.0.0-BETA1","v5.0.0-BETA2","v5.0.0-RC1","v5.1.0-BETA1","v5.1.0-RC1","v5.2.0","v5.2.0-BETA1","v5.2.0-BETA2","v5.2.0-BETA3","v5.2.0-RC1","v5.2.0-RC2","v5.2.1","v5.2.2","v5.2.3","v5.3.0-BETA1","v5.3.0-BETA4","v5.3.0-RC1","v5.4.0","v5.4.0-BETA1","v5.4.0-BETA2","v5.4.0-BETA3","v5.4.0-RC1","v5.4.1","v5.4.11","v5.4.12","v5.4.13","v5.4.14","v5.4.15","v5.4.16","v5.4.17","v5.4.19","v5.4.2","v5.4.20","v5.4.21","v5.4.22","v5.4.23","v5.4.24","v5.4.25","v5.4.26","v5.4.29","v5.4.3","v5.4.31","v5.4.34","v5.4.35","v5.4.36","v5.4.37","v5.4.38","v5.4.39","v5.4.40","v5.4.41","v5.4.42","v5.4.43","v5.4.44","v5.4.45","v5.4.5","v5.4.7","v5.4.8","v5.4.9","v6.0.0","v6.0.0-RC1","v6.0.1","v6.1.0","v6.1.0-BETA1","v6.1.0-BETA2","v6.1.0-RC1","v6.1.1","v6.1.2","v6.2.0","v6.2.0-BETA1","v6.2.0-BETA2","v6.2.0-BETA3","v6.2.0-RC1","v6.3.0","v6.3.0-BETA1","v6.3.0-BETA2","v6.3.0-BETA3","v6.3.0-RC1","v6.4.0","v6.4.0-BETA1","v6.4.0-BETA2","v6.4.0-BETA3","v6.4.0-RC1","v6.4.0-RC2","v6.4.10","v6.4.11","v6.4.12","v6.4.13","v6.4.2","v6.4.3","v6.4.4","v6.4.5","v6.4.6","v6.4.7","v6.4.8","v6.4.9","v7.0.0-BETA1","v7.0.0-BETA2","v7.0.0-BETA3","v7.0.0-RC1","v7.1.0","v7.1.0-BETA1","v7.1.0-RC1","v7.1.1","v7.1.2","v7.1.3","v7.1.4","v7.1.5","v7.1.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50342.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/symfony","events":[{"introduced":"d78c5f403d7ee794993660b1d5155536edd36fc1"},{"fixed":"5001143568bc2bce9ec77f7a85076aa75d38795e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50342.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}