CVE-2021-41268
CVE-2021-41268 · Cookie persistence in Symfony
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Symfony/SecurityBundle is the security system for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Since the rework of the Remember me cookie in version 5.3.0, the cookie is not invalidated when the user changes their password. Attackers can therefore maintain their access to the account even if the password is changed as long as they have had the chance to login once and get a valid remember me cookie. Starting with version 5.3.12, Symfony makes the password part of the signature by default. In that way, when the password changes, then the cookie is not valid anymore.
CVSS 6.5 · Medium · EPSS 1.3% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
symfony
- Versions
- >= 5.3.0, < 5.3.12: Affected
No fix published
symfony/security-bundle Packagist
- Versions
- v5.3.0
- v5.3.11
- v5.3.2
- v5.3.3
- v5.3.4
- v5.3.7
- v5.3.8
- Affected ranges
- ECOSYSTEM: ≥ 5.3.0, < 5.3.12
Update to 5.3.12
symfony/symfony Packagist
- Versions
- v5.3.0
- v5.3.1
- v5.3.10
- v5.3.11
- v5.3.2
- v5.3.3
- v5.3.4
- v5.3.5
- v5.3.6
- v5.3.7
- v5.3.8
- v5.3.9
- Affected ranges
- ECOSYSTEM: ≥ 5.3.0, < 5.3.12
Update to 5.3.12
Original sources
- https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr
- https://github.com/symfony/symfony/pull/44243
- https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc
- https://github.com/symfony/symfony/releases/tag/v5.3.12
- https://nvd.nist.gov/vuln/detail/CVE-2021-41268