Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-50342: symfony/http-client is a module for the Symphony PHP framework which provides powerful methods to fetch HTTP r

21
Routine
LOW 3.1UPGRADE

CVE-2024-50342 is a low-severity flaw (CVSS 3.1) affecting httpclient. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 ar

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score3.1 (Low)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.5% (top 59%)
CISA exploited listNo
WeaknessCWE-200
Published2024-11-06
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: sensiolabs

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

sensiolabs httpclient UPGRADE
Affected: < 5.4.46 · >= 6.0.0 and < 6.4.14 · >= 7.0.0 and < 7.1.7
Fixed in: 5.4.46, 6.4.14, 7.1.7
Safe to downgrade to: a release before 6.0.0
1. Check installed version
apt-cache policy httpclient || rpm -q httpclient || httpclient --version
2. UPGRADE to 5.4.46 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade httpclient
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade httpclient
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.0.0 (Debian / Ubuntu)
apt-cache madison httpclient sudo apt install httpclient=<VERSION_BEFORE_6.0.0> sudo apt-mark hold httpclient
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list httpclient sudo dnf downgrade httpclient-<VERSION_BEFORE_6.0.0> sudo dnf versionlock add httpclient
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-50342?

httpclient: upgrade to 5.4.46, 6.4.14, 7.1.7. Exact commands for each OS are on this page.

Is CVE-2024-50342 being exploited?

CVE-2024-50342 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-50342 affect?

CVE-2024-50342 affects httpclient. Severity is low (CVSS 3.1). 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

How urgent is CVE-2024-50342?

Priority 21/100. No elevated risk signals yet.

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.