CVE-2021-41268
published medium CVSS 3.1 · 6.5Cookie persistence in Symfony
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| symfony | — | symfony>= 5.3.0, < 5.3.12 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| symfony | symfony | >= 5.3.0, < 5.3.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-384 CWE-384: Session Fixation
References
4Provider assertions
2GitHub_M · cna
Cookie persistence in Symfony
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c9f14f24ed01f27a3afe09e7dcedfa9bb83731084f5ddcae8d15d4268f86873b
- Ingested
- 23 Sep 2026, 07:56:14 UTC
- Source record
- Official CVE record