{"id":"CVE-2021-41268","published":"2021-11-24T18:55:12Z","modified":"2024-08-04T03:08:31Z","title":"Cookie persistence in Symfony","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01325,"percentile":0.71658,"provenance":"source"},"cwes":[{"id":"CWE-384","name":"Session Fixation"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/pull/44243","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.3.12","tags":["x_refsource_MISC"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":14.33},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 5.3.0, < 5.3.12"]}],"affected":[{"ecosystem":"Packagist","package":"symfony/security-bundle","vulnerableRanges":[">=5.3.0, <5.3.12"],"patched":["5.3.12"],"from":["GHSA-qw36-p97w-vcqr"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=5.3.0, <5.3.12"],"patched":["5.3.12"],"from":["GHSA-qw36-p97w-vcqr"],"provenance":"source"}],"summary":{"text":"Symfony's SecurityBundle, the security component of the Symfony PHP framework, has a flaw in the Remember me cookie, introduced in version 5.3.0, where the cookie is not invalidated when the user changes their password. An attacker who has previously obtained a valid Remember me cookie for an account can keep access to that account after the password is changed, requiring only network access and a prior successful login by the user, with no further user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:27Z"},"euvd":{"id":"EUVD-2021-2384","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-21424","published":"2021-05-13","fixed":"5.2.9","kev":false},{"cve":"CVE-2021-32693","published":"2021-06-17","fixed":"5.3.2","kev":false,"link":{"from":"CVE-2021-32693","to":"CVE-2021-41268","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.3.2","toFixed":"5.3.12","daysApart":160}]}},{"cve":"CVE-2021-41267","published":"2021-11-24","fixed":"5.3.12","kev":false},{"cve":"CVE-2021-41268","published":"2021-11-24","fixed":"5.3.12","kev":false},{"cve":"CVE-2021-41270","published":"2021-11-24","fixed":"5.3.12","kev":false},{"cve":"CVE-2022-24894","published":"2023-02-03","fixed":"6.2.6","kev":false},{"cve":"CVE-2022-24895","published":"2023-02-03","fixed":"6.2.6","kev":false,"link":{"from":"CVE-2021-41268","to":"CVE-2022-24895","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-bundle","fromFixed":"5.3.12","toFixed":"5.4.20","daysApart":436}]}}],"package":"Packagist:symfony/symfony"}}