Medium severity · published Nov 6, 2024
CVE-2024-50342
Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client
4.3
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SY
symfony · symfony
< 5.4.46; >= 6.0.0, < 6.4.14; >= 7.0.0, < 7.1.7 · source: vendor
HT
Httpclient · Sensiolabs
before 5.4.46; 6.0.0 before 6.4.14; 7.0.0 before 7.1.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-50342
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-50342
Patch
https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b
Vendor Advisory
https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm
More from symfony
9.8
CVE-2026-47767
Symfony: SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch
9.8
CVE-2024-51736
Command execution hijack on Windows with Process class in symfony/process
9.1
CVE-2026-45069
Symfony: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims
9.1
CVE-2026-45063
Symfony: Identity Spoofing via Unanchored DN Regex in X509Authenticator
8.6
CVE-2026-48736
Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient
