Search for packages
Package details: pkg:composer/symfony/symfony@2.3.19
purl pkg:composer/symfony/symfony@2.3.19
Next non-vulnerable version 2.3.27
Latest non-vulnerable version 7.1.8
Risk
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-5gjg-vdx2-ykar
Aliases:
CVE-2015-4050
GHSA-qmqw-mpqp-mr54
Symfony Incorrect Access Control FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.11, and 2.6.0 through 2.6.7, when ESI or SSI support enabled, does not check if the `_controller` attribute is set, which allows remote attackers to bypass URL signing and security rules by including (1) no hash or (2) an invalid hash in a request to `/_fragment`. This issue has been fixed in Symfony 2.3.29, 2.5.12, and 2.6.8. Note that no fixes are provided for Symfony 2.4 as it's not maintained anymore.
2.3.29
Affected by 0 other vulnerabilities.
2.5.0
Affected by 5 other vulnerabilities.
2.5.12
Affected by 0 other vulnerabilities.
2.6.8
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (5)
Vulnerability Summary Aliases
VCID-dhzg-5h9j-vfdd Symfony allows direct access of ESI URLs behind a trusted proxy All 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpKernel component are affected by this security issue. Your application is vulnerable only if the ESI feature is enabled and there is a proxy in front of the web application. 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.2 as it is not maintained anymore. Description When you enable the ESI feature and when you are using a proxy like Varnish that you configured as a trusted proxy, the `FragmentHandler` considered requests to render fragments as coming from a trusted source, even if the client was requesting them directly. Symfony can not distinguish between ESI requests done on behalf of the client by Varnish and faked fragment requests coming directly from the client. To mitigate this issue, and for not-supported Symfony versions, you can use the following workaround in your Varnish configuration (`/_fragment` being the URL path prefix configured under the `fragment` setting of the framework bundle configuration): Copy sub vcl_recv { if (req.restarts == 0 && req.url ~ "^/_fragment") { error 400; } } Resolution We do not rely on trusted IPs anymore when validating a fragment request as all fragment URLs are now signed. The patch for this issue is available here: https://github.com/symfony/symfony/pull/11831 CVE-2014-5245
GHSA-wvjv-p5rr-mmqm
VCID-jyf2-9f7g-n7d1 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 CVE-2014-5244
GHSA-v77v-x634-9m56
VCID-phh3-2ksv-jqhn Symfony Cross-Site Request Forgery vulnerability in the Web Profiler All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony WebProfiler bundle 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 The Symfony Web Profiler is a great development tool, but it should not be enabled on production servers. If it is enabled in production, it must be properly secured so that only authorized people have access to it. Developers must be very cautious about this as the Web Profiler gives many sensitive information about a Symfony project and any attackers can exploit many of them. Just to name a few sensitive information: user logins, user cookies, executed SQL statements, ... That being said, the import/export feature of the web profiler is exploitable even if the Web Profiler is secured as the form to import a profiler is not protected against CSRF attacks. Combined with the fact that profiles are imported as a PHP serialized string, it makes your application vulnerable to code injection. ### Resolution As the import/export feature of the Web Profiler is not that useful, and because PHP `serialize/unserialize` functions have a long history of vulnerabilities, I decided to remove this feature from the Web interface and move it as CLI commands. If you were relying on this feature, you now need to use the `profiler:import` and `profiler:export` Symfony commands provided by the WebProfiler bundle from the command line interface. Those commands are not enabled by default and must be activated explicitly. For Symfony 2.4+, you can import them in your `app/config.yml` configuration file: ``` import: - { resource: "%kernel.root_dir%/../vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/config/commands.xml" } ``` For Symfony 2.3, you can use the following snippet of code in `app/console`: ``` $kernel = new AppKernel($env, $debug); $application = new Application($kernel); if ($kernel->getContainer()->has('profiler')) { $profiler = $kernel->getContainer()->get('profiler'); $application->add(new ImportCommand($profiler)); $application->add(new ExportCommand($profiler)); } $application->run($input); ``` At this point, I want to reiterate that you should never enable the Symfony Web Profiler on your production servers as this is a development tool. And if you need to enable it, double-check that it is properly secured. The patch for this issue is available here: https://github.com/symfony/symfony/pull/11832 CVE-2014-6072
GHSA-v35g-4rrw-h4fw
VCID-wayv-7yw4-5ye5 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 CVE-2014-6061
GHSA-h7v2-2qwg-h829
VCID-zry9-awfb-hqab Code injection in the way Symfony implements translation caching in FrameworkBundle When investigating issue [#11093](https://github.com/symfony/symfony/issues/11093), [Jeremy Derussé](https://connect.sensiolabs.com/profile/jderusse) found a serious code injection issue in the way Symfony implements translation caching in FrameworkBundle. - Your Symfony application is vulnerable if you meet the following conditions: - You are using the Symfony translation system from FrameworkBundle (so basically if you are using Symfony full-stack -- you are not affected if you are using the Translation component with Silex for instance); You don't sanitize locales coming from a URL (any route with a _locale argument for instance): When vulnerable, an attacker can submit a non-valid locale value that can contain some PHP code that will be executed by Symfony. That's because the locale value is dumped into a PHP file generated in the cache without being sanitized first. CVE-2014-4931
GHSA-wfv7-5x33-v22h

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-01T18:10:05.846914+00:00 GitLab Importer Affected by VCID-5gjg-vdx2-ykar https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2015-4050.yml 36.1.3
2025-07-01T14:35:01.269690+00:00 GHSA Importer Fixing VCID-phh3-2ksv-jqhn https://github.com/advisories/GHSA-v35g-4rrw-h4fw 36.1.3
2025-07-01T14:35:01.107468+00:00 GHSA Importer Fixing VCID-dhzg-5h9j-vfdd https://github.com/advisories/GHSA-wvjv-p5rr-mmqm 36.1.3
2025-07-01T14:35:00.875247+00:00 GHSA Importer Fixing VCID-wayv-7yw4-5ye5 https://github.com/advisories/GHSA-h7v2-2qwg-h829 36.1.3
2025-07-01T14:35:00.722081+00:00 GHSA Importer Fixing VCID-jyf2-9f7g-n7d1 https://github.com/advisories/GHSA-v77v-x634-9m56 36.1.3
2025-07-01T14:35:00.506852+00:00 GHSA Importer Fixing VCID-zry9-awfb-hqab https://github.com/advisories/GHSA-wfv7-5x33-v22h 36.1.3
2025-07-01T12:11:41.051294+00:00 GithubOSV Importer Fixing VCID-jyf2-9f7g-n7d1 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-v77v-x634-9m56/GHSA-v77v-x634-9m56.json 36.1.3
2025-07-01T12:11:30.071812+00:00 GithubOSV Importer Fixing VCID-zry9-awfb-hqab https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-wfv7-5x33-v22h/GHSA-wfv7-5x33-v22h.json 36.1.3
2025-07-01T12:11:29.949813+00:00 GithubOSV Importer Fixing VCID-dhzg-5h9j-vfdd https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-wvjv-p5rr-mmqm/GHSA-wvjv-p5rr-mmqm.json 36.1.3
2025-07-01T12:11:28.337545+00:00 GithubOSV Importer Fixing VCID-wayv-7yw4-5ye5 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-h7v2-2qwg-h829/GHSA-h7v2-2qwg-h829.json 36.1.3
2025-07-01T12:11:28.009181+00:00 GithubOSV Importer Fixing VCID-phh3-2ksv-jqhn https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-v35g-4rrw-h4fw/GHSA-v35g-4rrw-h4fw.json 36.1.3