CVE-2021-41268 json
Cookie persistence in Symfony
published 2021-11-24 4 y ago modified 2026-07-08 4 mo ago also BIT-symfony-2021-41268 , EUVD-2021-2384 , GHSA-qw36-p97w-vcqr
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist symfony/security-bundle 5.3.12
- packagist symfony/symfony 5.3.12
- bitnami symfony 5.3.12
- sensiolabs symfony 5.3.12
Exploit prediction
1.32% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/security-bundle | >=5.3.0, <5.3.12 |
5.3.12 |
| packagist | symfony/symfony | >=5.3.0, <5.3.12 |
5.3.12 |
| bitnami | symfony | >=5.3.0, <5.3.12 |
5.3.12 |
Affected products
- symfony symfony
Classification
- Weakness
-
- CWE-384 Session Fixation
References
-
github.com
/symfony/symfony/pull/44243
web, patch, third-party-advisory
-
github.com
/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc
web, patch, third-party-advisory
-
github.com
/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr
web, patch, third-party-advisory
-
github.com
/symfony/symfony/releases/tag/v5.3.12
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41268
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2021-41268.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-41268.yaml
web
-
github.com
/symfony/symfony
package
-
symfony.com
/cve-2021-41268
web
Sources
- CVE List CVE-2021-41268
- GitHub Advisory GHSA-qw36-p97w-vcqr
- NVD CVE-2021-41268
- OSV BIT-symfony-2021-41268
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.