CVE-2024-50342 json
Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client
published 2024-11-06 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3230 , GHSA-9c3x-r3wp-mgxm
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist symfony/http-client 5.4.47, 6.4.15, 7.1.8
- packagist symfony/symfony 5.4.47, 6.4.15, 7.1.8
- sensiolabs symfony 5.4.46, 6.4.14, 7.1.7
- symfony Debian 12 5.4.23+dfsg-1+deb12u3
- symfony Debian 14, Debian 13 6.4.15+dfsg-1
debian advisories DEBIAN-CVE-2024-50342
- symfony Ubuntu Pro 22.04 LTS 5.4.4+dfsg-1ubuntu8+esm1
- symfony Ubuntu Pro 24.04 LTS 6.4.5+dfsg-3ubuntu3+esm1
ubuntu advisories UBUNTU-CVE-2024-50342
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-50342 updated
php-symfony-http-client: Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/http-client | >=4.3.0, <5.4.47 >=6.0.0, <6.4.15 >=7.0.0, <7.1.8 |
5.4.47 6.4.15 7.1.8 |
| packagist | symfony/symfony | >=4.3.0, <5.4.47 >=6.0.0, <6.4.15 >=7.0.0, <7.1.8 |
5.4.47 6.4.15 7.1.8 |
Affected products
- symfony symfony
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b
web, patch
-
github.com
/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-50342
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml
web
-
github.com
/symfony/symfony
package
-
symfony.com
/cve-2024-50342
web
Sources
- CVE List CVE-2024-50342
- GitHub Advisory GHSA-9c3x-r3wp-mgxm
- NVD CVE-2024-50342
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.