Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/security
  4. ›
  5. CVE-2021-41268

CVE-2021-41268: Session Fixation

November 24, 2021 (updated November 30, 2021)

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, 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, Symfony makes the password part of the signature by default. In that way, when the password changes, then the cookie is not valid anymore.

References

  • github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc
  • github.com/symfony/symfony/pull/44243
  • github.com/symfony/symfony/releases/tag/v5.3.12
  • github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr
  • nvd.nist.gov/vuln/detail/CVE-2021-41268

Code Behaviors & Features

Detect and mitigate CVE-2021-41268 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.3.0 before 5.3.12

Fixed versions

  • 5.3.12

Solution

Upgrade to version 5.3.12 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-384: Session Fixation

Source file

packagist/symfony/security/CVE-2021-41268.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.