Search for packages
Package details: pkg:composer/symfony/http-foundation@2.0.0
purl pkg:composer/symfony/http-foundation@2.0.0
Tags Ghost
Next non-vulnerable version 5.4.46
Latest non-vulnerable version 7.2.0-BETA1
Risk 4.0
Vulnerabilities affecting this package (10)
Vulnerability Summary Fixed by
VCID-3uj4-tk9q-6bhc
Aliases:
CVE-2018-11386
GHSA-r2rq-3h56-fqm4
Symfony DoS An issue was discovered in the HttpFoundation component in Symfony 2.7.x before 2.7.48, 2.8.x before 2.8.41, 3.3.x before 3.3.17, 3.4.x before 3.4.11, and 4.0.x before 4.0.11. 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 5 other vulnerabilities.
2.8.41
Affected by 5 other vulnerabilities.
3.3.17
Affected by 6 other vulnerabilities.
3.4.11
Affected by 5 other vulnerabilities.
4.0.11
Affected by 5 other vulnerabilities.
VCID-718a-9ndd-syex
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 2 other vulnerabilities.
3.4.35
Affected by 2 other vulnerabilities.
4.2.12
Affected by 2 other vulnerabilities.
4.3.8
Affected by 2 other vulnerabilities.
VCID-854s-u6pp-gfcv
Aliases:
CVE-2015-2309
GHSA-p684-f7fh-jv2j
Symfony has unsafe methods in the Request class All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, 2.5.X, and 2.6.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.27, 2.5.11, and 2.6.6. Note that no fixes are provided for Symfony 2.0, 2.1, 2.2, and 2.4 as they are not maintained anymore. ### Description 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(), and getHost(), and getClientIps(). ### Resolution All impacted methods now check that the remote address is trusted, which fixes the issue. The patch for this issue is available [here](https://github.com/symfony/symfony/pull/14166).
2.3.27
Affected by 4 other vulnerabilities.
2.4.0-BETA1
Affected by 6 other vulnerabilities.
2.5.11
Affected by 4 other vulnerabilities.
2.6.0-BETA1
Affected by 4 other vulnerabilities.
2.6.6
Affected by 4 other vulnerabilities.
VCID-dk97-6ha4-u7ek
Aliases:
CVE-2013-4752
GHSA-22pv-7v9j-hqxp
Symfony Host Header Injection vulnerability in the HttpFoundation component Symfony 2.0.X before 2.0.24, 2.1.X before 2.1.12, 2.2.X before 2.2.5, and 2.3.X before 2.3.3 have an issue in the HttpFoundation component. The Host header can be manipulated by an attacker when the framework is generating an absolute URL. A remote attacker could exploit this vulnerability to inject malicious content into the Web application page and conduct various attacks.
2.0.24
Affected by 7 other vulnerabilities.
2.1.12
Affected by 7 other vulnerabilities.
2.2.5
Affected by 7 other vulnerabilities.
2.3.3
Affected by 7 other vulnerabilities.
VCID-hk4p-rd5x-xqaw
Aliases:
2012-11-29
Information Exposure Request::getClientIp() when the trust proxy mode is enabled.
2.0.19
Affected by 8 other vulnerabilities.
2.1.4
Affected by 8 other vulnerabilities.
VCID-jyf2-9f7g-n7d1
Aliases:
CVE-2014-5244
GHSA-v77v-x634-9m56
Symfony vulnerable to denial of service via a malicious HTTP Host header All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore. Description When an arbitrarily long hostname is sent by a client, its parsing in `Request::getHost()` can lead to a DoS attack, due to the way we validate the hostname via a regular expression. Resolution The regular expression used to parse and validate the hostname from the HTTP request has been modified to avoid too much sensitivity to the submitted value length. The patch for this issue is available here: https://github.com/symfony/symfony/pull/11828
2.3.19
Affected by 5 other vulnerabilities.
2.4.9
Affected by 5 other vulnerabilities.
2.5.0-BETA1
Affected by 5 other vulnerabilities.
2.5.4
Affected by 5 other vulnerabilities.
VCID-tyxz-bxm5-puc2
Aliases:
CVE-2012-6431
GHSA-83c3-qx27-2rwr
Symfony Allows URI Restrictions Bypass Via Double-Encoded String On the Symfony 2.0.x version, there's a security issue that allows access to routes protected by a firewall even when the user is not logged in. Both the Routing component and the Security component uses the path returned by `getPathInfo()` to match a Request. The `getPathInfo()` returns a decoded path, but the Routing component (`Symfony\Component\Routing\Matcher\UrlMatcher`) decodes the path a second time; whereas the Security component, `Symfony\Component\HttpFoundation\RequestMatcher`, does not. This difference causes Symfony 2.0 to be vulnerable to double encoding attacks.
2.0.19
Affected by 8 other vulnerabilities.
VCID-wayv-7yw4-5ye5
Aliases:
CVE-2014-6061
GHSA-h7v2-2qwg-h829
Symfony has a security issue when parsing the Authorization header All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore. ### Description When an application uses an HTTP basic or digest authentication, Symfony does not parse the `Authorization` header properly, which could be exploited in some server setups (no exploits have been demonstrated though.) ### Resolution The parsing of the `Authorization` header has been fixed to comply to the HTTP specification. The patch for this issue is available here: https://github.com/symfony/symfony/pull/11829
2.3.19
Affected by 5 other vulnerabilities.
2.4.9
Affected by 5 other vulnerabilities.
2.5.0-BETA1
Affected by 5 other vulnerabilities.
2.5.4
Affected by 5 other vulnerabilities.
VCID-yhd4-n2m1-wueq
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 8 other vulnerabilities.
2.1.4
Affected by 8 other vulnerabilities.
VCID-zbme-ygft-4qht
Aliases:
CVE-2018-14773
GHSA-8wgj-6wx8-h5hq
access restriction bypass
2.7.49
Affected by 4 other vulnerabilities.
2.8.44
Affected by 4 other vulnerabilities.
3.3.18
Affected by 5 other vulnerabilities.
3.4.14
Affected by 4 other vulnerabilities.
4.0.14
Affected by 4 other vulnerabilities.
4.1.3
Affected by 4 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
2025-07-03T13:56:49.496182+00:00 GitLab Importer Affected by VCID-yhd4-n2m1-wueq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/GHSA-vfm6-r2gc-pwww.yml 36.1.3
2025-07-03T13:54:54.075411+00:00 GitLab Importer Affected by VCID-718a-9ndd-syex https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2019-18888.yml 36.1.3
2025-07-01T18:11:05.775712+00:00 GitLab Importer Affected by VCID-zbme-ygft-4qht https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-14773.yml 36.1.3
2025-07-01T18:10:58.223454+00:00 GitLab Importer Affected by VCID-3uj4-tk9q-6bhc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2018-11386.yml 36.1.3
2025-07-01T18:10:02.308718+00:00 GitLab Importer Affected by VCID-jyf2-9f7g-n7d1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-5244.yml 36.1.3
2025-07-01T18:10:02.224114+00:00 GitLab Importer Affected by VCID-wayv-7yw4-5ye5 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2014-6061.yml 36.1.3
2025-07-01T18:09:57.839192+00:00 GitLab Importer Affected by VCID-dk97-6ha4-u7ek https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2013-4752.yml 36.1.3
2025-07-01T18:09:55.790058+00:00 GitLab Importer Affected by VCID-tyxz-bxm5-puc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/CVE-2012-6431.yml 36.1.3
2025-07-01T18:09:55.569262+00:00 GitLab Importer Affected by VCID-hk4p-rd5x-xqaw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/http-foundation/2012-11-29.yml 36.1.3
2025-07-01T14:35:00.933890+00:00 GHSA Importer Affected by VCID-854s-u6pp-gfcv https://github.com/advisories/GHSA-p684-f7fh-jv2j 36.1.3
2025-07-01T14:35:00.855366+00:00 GHSA Importer Affected by VCID-wayv-7yw4-5ye5 https://github.com/advisories/GHSA-h7v2-2qwg-h829 36.1.3
2025-07-01T14:35:00.679315+00:00 GHSA Importer Affected by VCID-jyf2-9f7g-n7d1 https://github.com/advisories/GHSA-v77v-x634-9m56 36.1.3
2025-07-01T14:35:00.636647+00:00 GHSA Importer Affected by VCID-yhd4-n2m1-wueq https://github.com/advisories/GHSA-vfm6-r2gc-pwww 36.1.3
2025-07-01T14:31:55.133381+00:00 GHSA Importer Affected by VCID-dk97-6ha4-u7ek https://github.com/advisories/GHSA-22pv-7v9j-hqxp 36.1.3
2025-07-01T14:29:58.919510+00:00 GHSA Importer Affected by VCID-718a-9ndd-syex https://github.com/advisories/GHSA-xhh6-956q-4q69 36.1.3