Search for packages
Package details: pkg:composer/symfony/symfony@5.3.15
purl pkg:composer/symfony/symfony@5.3.15
Next non-vulnerable version 5.4.46
Latest non-vulnerable version 7.2.0-BETA1
Risk
Vulnerabilities affecting this package (8)
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-3p45-9gge-y3d9
Aliases:
CVE-2022-24895
GHSA-3gv2-29qc-v67m
Symfony vulnerable to Session Fixation of CSRF tokens Description ----------- When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables [same-site attackers](https://canitakeyoursubdomain.name/) to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. Resolution ---------- Symfony removes all CSRF tokens from the session on successful login. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4) for branch 4.4. Credits ------- We would like to thank Marco Squarcina for reporting the issue and Nicolas Grekas for fixing it.
5.4.20
Affected by 6 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.0.20
Affected by 6 other vulnerabilities.
6.1.0-BETA1
Affected by 6 other vulnerabilities.
6.1.12
Affected by 6 other vulnerabilities.
6.2.0-BETA1
Affected by 6 other vulnerabilities.
6.2.6
Affected by 7 other vulnerabilities.
VCID-5ydt-hq1s-n7fx
Aliases:
CVE-2024-50340
GHSA-x8vp-gf4q-mw5j
Symfony allows changing the environment through a query ### Description When the `register_argc_argv` php directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment or debug mode used by the kernel when handling the request. ### Resolution The `SymfonyRuntime` now ignores the `argv` values for non-cli SAPIs PHP runtimes The patch for this issue is available [here](https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa) for branch 5.4. ### Credits We would like to thank Vladimir Dusheyko for reporting the issue and Wouter de Jong for providing the fix.
5.4.46
Affected by 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 0 other vulnerabilities.
7.2.0-BETA1
Affected by 0 other vulnerabilities.
VCID-64bd-n2s2-9qcj
Aliases:
CVE-2022-24894
GHSA-h7vf-5wrv-9fhv
Symfony storing cookie headers in HttpCache Description ----------- The Symfony HTTP cache system acts as a reverse proxy: it caches HTTP responses (including headers) and returns them to clients. In a recent `AbstractSessionListener` change, the response might now contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this header might be stored and returned to some other clients. An attacker can use this vulnerability to retrieve the victim's session. Resolution ---------- The `HttpStore` constructor now takes a parameter containing a list of private headers that are removed from the HTTP response headers. The default value for this parameter is `Set-Cookie`, but it can be overridden or extended by the application. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fb) for branch 4.4. Credits ------- We would like to thank Soner Sayakci for reporting the issue and Nicolas Grekas for fixing it.
5.4.20
Affected by 6 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.0.20
Affected by 6 other vulnerabilities.
6.1.0-BETA1
Affected by 6 other vulnerabilities.
6.1.12
Affected by 6 other vulnerabilities.
6.2.0-BETA1
Affected by 6 other vulnerabilities.
6.2.6
Affected by 7 other vulnerabilities.
VCID-atjd-s983-zkaz
Aliases:
CVE-2024-51736
GHSA-qq5c-677p-737q
Symfony vulnerable to command execution hijack on Windows with Process class ### Description On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. ### Resolution The `Process` class now uses the absolute path to `cmd.exe`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9) for branch 5.4. ### Credits We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
5.4.46
Affected by 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 0 other vulnerabilities.
7.2.0-BETA1
Affected by 0 other vulnerabilities.
VCID-bf8y-eqha-q3cy
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 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 0 other vulnerabilities.
7.2.0-BETA1
Affected by 0 other vulnerabilities.
VCID-fhmx-pjm9-zqdd
Aliases:
CVE-2024-50343
GHSA-g3rh-rrhp-jhh9
Symfony has an incorrect response from Validator when input ends with `\n` ### Description It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`. ### Resolution Symfony now uses the `D` regex modifier to match the entire input. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f) for branch 5.4. ### Credits We would like to thank Offscript for reporting the issue and Alexandre Daubois for providing the fix.
5.4.43
Affected by 4 other vulnerabilities.
6.4.11
Affected by 4 other vulnerabilities.
7.1.4
Affected by 4 other vulnerabilities.
VCID-xv9e-a7qq-63a1
Aliases:
CVE-2023-46734
GHSA-q847-2q57-wmr3
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters ### Description Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe. ### Resolution Symfony now escapes the output of the affected filters. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c) for branch 4.4. ### Credits We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.
5.4.31
Affected by 5 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.3.8
Affected by 6 other vulnerabilities.
6.4.0-BETA1
Affected by 6 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-tgmn-cwth-ukcu CSRF token missing in Symfony Description ----------- The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled. In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks. Resolution ---------- Symfony restored the default configuration to enable the CSRF protection by default. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50) for branch 5.3. Credits ------- We would like to thank Catalin Dan and David Lochner for reporting the issue and Jérémy Derussé for fixing the issue. CVE-2022-23601
GHSA-vvmr-8829-6whx

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-03T19:15:01.523456+00:00 GitLab Importer Affected by VCID-fhmx-pjm9-zqdd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50343.yml 37.0.0
2025-07-03T19:14:59.489982+00:00 GitLab Importer Affected by VCID-267p-fu2q-hyd1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50342.yml 37.0.0
2025-07-03T19:14:55.659652+00:00 GitLab Importer Affected by VCID-bf8y-eqha-q3cy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50345.yml 37.0.0
2025-07-03T19:14:47.947488+00:00 GitLab Importer Affected by VCID-5ydt-hq1s-n7fx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50340.yml 37.0.0
2025-07-03T19:14:44.839793+00:00 GitLab Importer Affected by VCID-atjd-s983-zkaz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-51736.yml 37.0.0
2025-07-03T18:53:01.292032+00:00 GitLab Importer Affected by VCID-xv9e-a7qq-63a1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2023-46734.yml 37.0.0
2025-07-03T18:38:23.300415+00:00 GitLab Importer Affected by VCID-64bd-n2s2-9qcj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24894.yml 37.0.0
2025-07-03T18:38:18.703816+00:00 GitLab Importer Affected by VCID-3p45-9gge-y3d9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24895.yml 37.0.0
2025-07-03T18:09:55.569794+00:00 GitLab Importer Fixing VCID-tgmn-cwth-ukcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-23601.yml 37.0.0
2025-07-01T18:12:30.075933+00:00 GitLab Importer Fixing VCID-tgmn-cwth-ukcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-23601.yml 36.1.3