NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
LOW severity

CVE-2024-50342 — http-client

LOWFix: symfony/symfony@296d4b3

CVE-2024-50342 is a low-severity (CVSS 3.1) Information Exposure vulnerability in symfony/http-client. A fix is available for symfony/http-client — see the affected versions and patch details below.

Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client

Also known asGHSA-9c3x-r3wp-mgxm
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2024-50342.

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk+0.01%
Lower risk than most CVEs42th percentile — riskier than 42% of all scored CVEsHighest risk
0.00%0.33%0.67%1.00%0.5%0.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

6 pkgs affected
🐘symfony/http-client🐘symfony/http-client🐘symfony/http-client🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Description

When using the NoPrivateNetworkHttpClient, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration.

Resolution

The NoPrivateNetworkHttpClient now filters blocked IPs earlier to prevent such leaks.

The fisrt patch for this issue is available here for branch 5.4.

The second one is available here for branch 5.4 also.

Credits

We would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistsymfony/http-client≥ 4.3.0&&< 5.4.475.4.47composer require symfony/http-client:^5.4.47
🐘Packagistsymfony/http-client≥ 6.0.0&&< 6.4.156.4.15composer require symfony/http-client:^6.4.15
🐘Packagistsymfony/http-client≥ 7.0.0&&< 7.1.87.1.8composer require symfony/http-client:^7.1.8
🐘Packagistsymfony/symfony≥ 4.3.0&&< 5.4.475.4.47composer require symfony/symfony:^5.4.47
🐘Packagistsymfony/symfony≥ 6.0.0&&< 6.4.156.4.15composer require symfony/symfony:^6.4.15
🐘Packagistsymfony/symfony≥ 7.0.0&&< 7.1.87.1.8composer require symfony/symfony:^7.1.8

Affected Products

1 product · 3 configurations
Application
httpclientsensiolabs
≥ 7.0.0 && < 7.1.7
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/http-client, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update symfony/http-client to 5.4.47 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-50342 is resolved across your whole dependency graph.

  3. Workarounds

    Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.

Frequently Asked Questions

### Description When using the `NoPrivateNetworkHttpClient`, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration. ### Resolution The `NoPrivateNetworkHttpClient` now filters blocked IPs earlier to prevent such leaks. The fisrt patch for this issue is available [here](https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b) for branch 5.4. The second one is available [here](https://github.com/symfony/symfony/commit/b4bf5afdbdcb2fd03da513ee03beeabeb551e5fa) for branch 5.4 also. ### Credits We would like
O3 Security · Impact-Aware SCA

Is CVE-2024-50342 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2024-50342: http-client — Fixed in 5.4.47