VYPR
Moderate severityNVD Advisory· Published Feb 3, 2023· Updated Mar 10, 2025

Symfony vulnerable to Session Fixation of CSRF tokens

CVE-2022-24895

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
symfony/security-bundlePackagist
>= 2.0.0, < 4.4.504.4.50
symfony/security-bundlePackagist
>= 5.0.0, < 5.4.205.4.20
symfony/security-bundlePackagist
>= 6.0.0, < 6.0.206.0.20
symfony/security-bundlePackagist
>= 6.1.0, < 6.1.126.1.12
symfony/security-bundlePackagist
>= 6.2.0, < 6.2.66.2.6
symfony/symfonyPackagist
>= 2.0.0, < 4.4.504.4.50
symfony/symfonyPackagist
>= 5.0.0, < 5.4.205.4.20
symfony/symfonyPackagist
>= 6.0.0, < 6.0.206.0.20
symfony/symfonyPackagist
>= 6.1.0, < 6.1.126.1.12
symfony/symfonyPackagist
>= 6.2.0, < 6.2.66.2.6

Affected products

4

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.