Search for packages
Package details: pkg:composer/symfony/http-client@5.1.2
purl pkg:composer/symfony/http-client@5.1.2
Next non-vulnerable version 5.4.47
Latest non-vulnerable version 7.2.0-BETA1
Risk
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-267p-fu2q-hyd1
Aliases:
CVE-2024-50342
GHSA-9c3x-r3wp-mgxm
Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient ### 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 to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.
5.4.47
Affected by 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.15
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.8
Affected by 0 other vulnerabilities.
7.2.0-BETA1
Affected by 0 other vulnerabilities.
VCID-2gr1-yfyf-47f1
Aliases:
CVE-2020-15094
GHSA-754h-5r27-7x3r
RCE in Symfony Description ----------- The `CachingHttpClient` class from the HttpClient Symfony component relies on the `HttpCache` class to handle requests. `HttpCache` uses internal headers like `X-Body-Eval` and `X-Body-File` to control the restoration of cached responses. The class was initially written with surrogate caching and ESI support in mind (all HTTP calls come from a trusted backend in that scenario). But when used by `CachingHttpClient` and if an attacker can control the response for a request being made by the `CachingHttpClient`, remote code execution is possible. Resolution ---------- HTTP headers designed for internal use in `HttpCache` are now stripped from remote responses before being passed to `HttpCache`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/d9910e0b33a2e0f993abff41c6fbc86951b66d78) for the 4.4 branch. Credits ------- I would like to thank Matthias Pigulla (webfactory GmbH) for reporting and fixing the issue.
5.1.5
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-03T19:14:53.708709+00:00 GitLab Importer Affected by VCID-267p-fu2q-hyd1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-client/CVE-2024-50342.yml 37.0.0
2025-07-03T17:44:57.926784+00:00 GitLab Importer Affected by VCID-2gr1-yfyf-47f1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-client/CVE-2020-15094.yml 37.0.0