Vulnerabilities · 2022 · Sensiolabs
CVE-2022-24895
Sensiolabs Symfony vulnerability
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. 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 to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.
Affected products
Symfony. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sensiolabs Symfony runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 · Patch
- github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 · Patch
- github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m · Patch
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-2
- lists.debian.org/debian-lts-announce/2023/07/msg00014.html
- nvd.nist.gov/vuln/detail/CVE-2022-24895
- cve.org/CVERecord?id=CVE-2022-24895
More vulnerabilities in Sensiolabs products
CVE-2026-24739CVE-2025-64500CVE-2024-51736CVE-2024-50345CVE-2024-50342CVE-2023-46735CVE-2023-46734CVE-2023-46733All 62
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.