In short
- CVE-2024-50342 is a MEDIUM (CVSS 4.3) vulnerability affecting symfony/http-client, symfony/symfony, httpclient (sensiolabs).
- Chance of exploitation in the next 30 days (EPSS): 0.47%, higher than 40.7% of all vulnerabilities.
- Fix: update to 5.4.47, 6.4.15, 7.1.8, 6.4.14 or later.
| Package | Affected versions | Patched versions |
|---|
| symfony/http-client Packagist | ≥ 4.3.0, < 5.4.47≥ 6.0.0, < 6.4.15≥ 7.0.0, < 7.1.8
| 5.4.476.4.157.1.8
|
| symfony/symfony Packagist | ≥ 4.3.0, < 5.4.47≥ 6.0.0, < 6.4.15≥ 7.0.0, < 7.1.8
| 5.4.476.4.157.1.8
|
| httpclient | ≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7< 5.4.46
| 6.4.147.1.75.4.46
|
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.
NVD 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.
More vulnerabilities in symfony/http-client
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free