Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/symfony/http-foundation@2.0.4
purl pkg:composer/symfony/http-foundation@2.0.4
Next non-vulnerable version 5.4.50
Latest non-vulnerable version 7.3.7
Risk 4.0
Vulnerabilities affecting this package (12)
Vulnerability Summary Fixed by
VCID-23wm-y6hh-hfd3
Aliases:
CVE-2012-6431
GHSA-83c3-qx27-2rwr
Routes behind a firewall are accessible even when not logged in Symfony does not process URL encoded data consistently within the Routing and Security components, which allows remote attackers to bypass intended URI restrictions via a doubly encoded string.
2.0.19
Affected by 9 other vulnerabilities.
VCID-2hua-7wbd-tqbx
Aliases:
CVE-2018-11386
GHSA-r2rq-3h56-fqm4
Insufficient Session Expiration The `PDOSessionHandler` class allows storing sessions on a PDO connection. Under some configurations and with a well-crafted payload, it was possible to do a denial of service on a Symfony application without too much resources.
2.7.48
Affected by 6 other vulnerabilities.
2.8.41
Affected by 6 other vulnerabilities.
3.3.17
Affected by 7 other vulnerabilities.
3.4.11
Affected by 6 other vulnerabilities.
4.0.11
Affected by 6 other vulnerabilities.
VCID-446x-j2gr-f3a2
Aliases:
GHSA-vfm6-r2gc-pwww
Symfony2 security issue when the trust proxy mode is enabled An application is vulnerable if it uses the client IP address as returned by the Request::getClientIp() method for sensitive decisions like IP based access control. To fix this security issue, the following changes have been made to all versions of Symfony2: A new Request::setTrustedProxies() method has been introduced and should be used intead of Request::trustProxyData() to enable the trust proxy mode. It takes an array of trusted proxy IP addresses as its argument: ``` // before (probably in your front controller script) Request::trustProxyData(); // after Request::setTrustedProxies(array('1.1.1.1')); // 1.1.1.1 being the IP address of a trusted reverse proxy ``` The Request::trustProxyData() method has been deprecated (when used, it automatically trusts the latest proxy in the chain -- which is the current remote address): ``` Request::trustProxyData(); // is equivalent to Request::setTrustedProxies(array($request->server->get('REMOTE_ADDR'))); ``` We encourage all Symfony2 users to upgrade as soon as possible. It you don't want to upgrade to the latest version yet, you can also apply the following patches: - [Patch](https://github.com/symfony/symfony/compare/fc89d6b...9ce892c.patch) for Symfony 2.0.19 - [Patch](https://github.com/symfony/symfony/compare/922c201...e5536f0.patch) for Symfony 2.1.4
2.0.19
Affected by 9 other vulnerabilities.
2.1.4
Affected by 9 other vulnerabilities.
VCID-6cea-up73-y3hn
Aliases:
CVE-2014-6061
GHSA-h7v2-2qwg-h829
Improper Authorization Security issue when parsing the Authorization header.
2.3.19
Affected by 6 other vulnerabilities.
2.4.9
Affected by 6 other vulnerabilities.
2.5.0-BETA1
Affected by 6 other vulnerabilities.
2.5.4
Affected by 6 other vulnerabilities.
2.5.11
Affected by 5 other vulnerabilities.
VCID-9bzz-84cq-ykh2
Aliases:
CVE-2024-50345
GHSA-mrqx-rp3w-jpjp
Symfony vulnerable to open redirect via browser-sanitized URLs ### Description The `Request` class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the `Request` class to redirect users to another domain. ### Resolution The `Request::create` methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/ The patch for this issue is available [here](https://github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819) for branch 5.4. ### Credits We would like to thank Sam Mush - IPASSLab && ZGC Lab for reporting the issue and Nicolas Grekas for providing the fix.
5.4.46
Affected by 1 other vulnerability.
6.4.14
Affected by 1 other vulnerability.
7.1.7
Affected by 1 other vulnerability.
7.2.0-BETA1
Affected by 1 other vulnerability.
VCID-bhfu-7788-fbhc
Aliases:
CVE-2018-14773
GHSA-8wgj-6wx8-h5hq
URL Rewrite vulnerability An issue in Symfony arises from support for a (legacy) IIS header that lets users override the path in the request URL via the `X-Original-URL` or `X-Rewrite-URL` HTTP request header. These headers are designed for IIS support, but it's not verified that the server is in fact running IIS, which means anybody who can send these requests to an application can trigger this. This affects `\Symfony\Component\HttpFoundation\Request::prepareRequestUri()` where `X-Original-URL` and `X_REWRITE_URL` are both used. The fix drops support for these methods so that they cannot be used as attack vectors such as web cache poisoning.
2.7.49
Affected by 5 other vulnerabilities.
2.8.44
Affected by 5 other vulnerabilities.
3.3.18
Affected by 6 other vulnerabilities.
3.4.14
Affected by 5 other vulnerabilities.
4.0.14
Affected by 5 other vulnerabilities.
4.1.3
Affected by 5 other vulnerabilities.
VCID-jdsd-3vnz-uygn
Aliases:
CVE-2019-18888
GHSA-xhh6-956q-4q69
Argument injection in a MimeTypeGuesser in Symfony An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. If an application passes unvalidated user input as the file for which MIME type validation should occur, then arbitrary arguments are passed to the underlying file command. This is related to symfony/http-foundation (and symfony/mime in 4.3.x).
2.8.52
Affected by 3 other vulnerabilities.
3.4.35
Affected by 3 other vulnerabilities.
4.2.12
Affected by 3 other vulnerabilities.
4.3.8
Affected by 3 other vulnerabilities.
VCID-p1dw-w76f-gbfv
Aliases:
CVE-2025-64500
GHSA-3rg7-wf37-54rm
Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass The `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption.
5.4.50
Affected by 0 other vulnerabilities.
6.4.29
Affected by 0 other vulnerabilities.
7.3.7
Affected by 0 other vulnerabilities.
VCID-qty4-cyfa-rugw
Aliases:
CVE-2014-5244
GHSA-v77v-x634-9m56
Uncontrolled Resource Consumption Denial of service with a malicious HTTP Host header.
2.3.19
Affected by 6 other vulnerabilities.
2.4.9
Affected by 6 other vulnerabilities.
2.5.0-BETA1
Affected by 6 other vulnerabilities.
2.5.4
Affected by 6 other vulnerabilities.
2.5.11
Affected by 5 other vulnerabilities.
VCID-rztj-ug83-dyga
Aliases:
CVE-2013-4752
GHSA-22pv-7v9j-hqxp
Information Exporure `Request::getHost()` poisoning vulnerability in Symfony.
2.0.24
Affected by 8 other vulnerabilities.
2.1.12
Affected by 8 other vulnerabilities.
2.2.5
Affected by 8 other vulnerabilities.
2.3.3
Affected by 8 other vulnerabilities.
VCID-u84h-sr6a-4uc7
Aliases:
2012-11-29
Information Exposure Request::getClientIp() when the trust proxy mode is enabled.
2.0.19
Affected by 9 other vulnerabilities.
2.0.20
Affected by 9 other vulnerabilities.
2.1.4
Affected by 9 other vulnerabilities.
2.1.5
Affected by 9 other vulnerabilities.
VCID-wwhm-mrr3-v7h3
Aliases:
CVE-2015-2309
GHSA-p684-f7fh-jv2j
Unsafe methods in the Request class The `Symfony\Component\HttpFoundation\Request` class provides a mechanism that ensures it does not trust HTTP header values coming from a "non-trusted" client. Unfortunately, it assumes that the remote address is always a trusted client if at least one trusted proxy is involved in the request; this allows a man-in-the-middle attack between the latest trusted proxy and the web server. The following methods are impacted: `getPort()`, `isSecure()`, `getHost()` and `getClientIps()`.
2.3.27
Affected by 5 other vulnerabilities.
2.3.29
Affected by 7 other vulnerabilities.
2.5.11
Affected by 5 other vulnerabilities.
2.6.6
Affected by 5 other vulnerabilities.
2.6.8
Affected by 5 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-12T01:13:25.531455+00:00 GitLab Importer Affected by VCID-p1dw-w76f-gbfv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2025-64500.yml 38.3.0
2026-04-12T00:31:43.882481+00:00 GitLab Importer Affected by VCID-9bzz-84cq-ykh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2024-50345.yml 38.3.0
2026-04-12T00:18:04.791306+00:00 GitLab Importer Affected by VCID-446x-j2gr-f3a2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/GHSA-vfm6-r2gc-pwww.yml 38.3.0
2026-04-11T22:10:08.392340+00:00 GitLab Importer Affected by VCID-jdsd-3vnz-uygn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2019-18888.yml 38.3.0
2026-04-11T21:57:48.693422+00:00 GitLab Importer Affected by VCID-bhfu-7788-fbhc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-14773.yml 38.3.0
2026-04-11T21:56:05.493898+00:00 GitLab Importer Affected by VCID-2hua-7wbd-tqbx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-11386.yml 38.3.0
2026-04-11T21:42:45.697269+00:00 GitLab Importer Affected by VCID-wwhm-mrr3-v7h3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2015-2309.yml 38.3.0
2026-04-11T21:42:14.884637+00:00 GitLab Importer Affected by VCID-qty4-cyfa-rugw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-5244.yml 38.3.0
2026-04-11T21:42:12.774837+00:00 GitLab Importer Affected by VCID-6cea-up73-y3hn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-6061.yml 38.3.0
2026-04-11T21:41:11.498452+00:00 GitLab Importer Affected by VCID-rztj-ug83-dyga https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2013-4752.yml 38.3.0
2026-04-11T21:40:43.633126+00:00 GitLab Importer Affected by VCID-23wm-y6hh-hfd3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2012-6431.yml 38.3.0
2026-04-11T21:40:41.521762+00:00 GitLab Importer Affected by VCID-u84h-sr6a-4uc7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/2012-11-29.yml 38.3.0
2026-04-03T01:22:22.703657+00:00 GitLab Importer Affected by VCID-p1dw-w76f-gbfv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2025-64500.yml 38.1.0
2026-04-03T00:39:26.858854+00:00 GitLab Importer Affected by VCID-9bzz-84cq-ykh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2024-50345.yml 38.1.0
2026-04-03T00:25:23.965365+00:00 GitLab Importer Affected by VCID-446x-j2gr-f3a2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/GHSA-vfm6-r2gc-pwww.yml 38.1.0
2026-04-02T22:22:44.165255+00:00 GitLab Importer Affected by VCID-jdsd-3vnz-uygn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2019-18888.yml 38.1.0
2026-04-02T22:11:10.456506+00:00 GitLab Importer Affected by VCID-bhfu-7788-fbhc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-14773.yml 38.1.0
2026-04-02T22:09:31.457309+00:00 GitLab Importer Affected by VCID-2hua-7wbd-tqbx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-11386.yml 38.1.0
2026-04-02T21:56:54.883359+00:00 GitLab Importer Affected by VCID-wwhm-mrr3-v7h3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2015-2309.yml 38.1.0
2026-04-02T21:56:24.517225+00:00 GitLab Importer Affected by VCID-qty4-cyfa-rugw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-5244.yml 38.1.0
2026-04-02T21:56:22.606493+00:00 GitLab Importer Affected by VCID-6cea-up73-y3hn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-6061.yml 38.1.0
2026-04-02T21:55:21.439121+00:00 GitLab Importer Affected by VCID-rztj-ug83-dyga https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2013-4752.yml 38.1.0
2026-04-02T21:54:49.321684+00:00 GitLab Importer Affected by VCID-23wm-y6hh-hfd3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2012-6431.yml 38.1.0
2026-04-02T21:54:47.327852+00:00 GitLab Importer Affected by VCID-u84h-sr6a-4uc7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/2012-11-29.yml 38.1.0
2026-04-01T16:40:31.033280+00:00 GitLab Importer Affected by VCID-jdsd-3vnz-uygn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2019-18888.yml 38.0.0
2026-04-01T16:28:31.725806+00:00 GitLab Importer Affected by VCID-bhfu-7788-fbhc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-14773.yml 38.0.0
2026-04-01T16:26:46.031861+00:00 GitLab Importer Affected by VCID-2hua-7wbd-tqbx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-11386.yml 38.0.0
2026-04-01T16:14:05.571753+00:00 GitLab Importer Affected by VCID-wwhm-mrr3-v7h3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2015-2309.yml 38.0.0
2026-04-01T16:13:34.606642+00:00 GitLab Importer Affected by VCID-qty4-cyfa-rugw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-5244.yml 38.0.0
2026-04-01T16:13:32.456431+00:00 GitLab Importer Affected by VCID-6cea-up73-y3hn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-6061.yml 38.0.0
2026-04-01T16:12:36.453160+00:00 GitLab Importer Affected by VCID-rztj-ug83-dyga https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2013-4752.yml 38.0.0
2026-04-01T16:12:08.076272+00:00 GitLab Importer Affected by VCID-23wm-y6hh-hfd3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2012-6431.yml 38.0.0
2026-04-01T16:12:05.977283+00:00 GitLab Importer Affected by VCID-u84h-sr6a-4uc7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/2012-11-29.yml 38.0.0