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

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.

Published: 2024-11-06 Last update: 2026-01-12 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-50342 is rated Low Risk (35.7/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.50%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-50342

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-13 0.36% 0.50% +0.14%
2 2026-03-28 0.27% 0.36% +0.09%
3 2026-01-13 0.27%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-50342

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.1 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 1.4 [email protected]
4.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 1.4 [email protected]

Weakness enumeration for CVE-2024-50342

GitHub Security Advisory for CVE-2024-50342

GHSA-9c3x-r3wp-mgxm · Severity: low · Ecosystem: composer — Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

OS Trackers for CVE-2024-50342

vendor priority summary link
debian unimportant CVE-2024-50342 unimportant priority: Debian including 1 source packages (symfony), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-50342
ubuntu medium CVE-2024-50342 medium priority: Ubuntu including 1 source packages (symfony), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): not-affected 3, ignored 2, needs-triage 2, released 2. https://ubuntu.com/security/CVE-2024-50342

Affected software / configurations for CVE-2024-50342

Vendor Product Version Raw CPE
sensiolabs httpclient < 5.4.46 cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:*
sensiolabs httpclient >= 6.0.0, < 6.4.14 cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:*
sensiolabs httpclient >= 7.0.0, < 7.1.7 cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:*

References for CVE-2024-50342

cvelogic Threat Intelligence