Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-24895

Symfony is a PHP framework for web and console applications and a set ...

Overview

Published
3 Feb 2023
Modified
17 Jun 2026
High CVE
2 Registry packages
1 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Weakness: CWE-384, CWE-613

Affected packages · 2

Packages affected by CVE-2022-24895
EcosystemPackageVulnerableFixed in
Composer (PHP) symfony/security-bundle >=2.0.0, <4.4.50>=5.0.0, <5.4.20>=6.0.0, <6.0.20>=6.1.0, <6.1.12>=6.2.0, <6.2.6+24 more 4.4.505.4.206.0.206.1.126.2.6
Composer (PHP) symfony/symfony >=2.0.0, <4.4.50>=5.0.0, <5.4.20>=6.0.0, <6.0.20>=6.1.0, <6.1.12>=6.2.0, <6.2.6+24 more 4.4.505.4.206.0.206.1.126.2.6

Open a package to see all its vulnerabilities.

Operating systems · 9 fixes

debian 5 releases · 1 package

fixed 5
symfony
debian fixes for CVE-2022-24895
ReleasePackageFixed in
10 symfony 3.4.22+dfsg-2+deb10u2
11 symfony 4.4.19+dfsg-2+deb11u2
12 symfony 5.4.20+dfsg-1
13 symfony 5.4.20+dfsg-1
14 symfony 5.4.20+dfsg-1

echo 1 release · 1 package

fixed 1
symfony
echo fixes for CVE-2022-24895
ReleasePackageFixed in
symfony 5.4.20+dfsg-1

ubuntu 3 releases · 1 package

affected 2 fixed 1
symfony
ubuntu fixes for CVE-2022-24895
ReleasePackageFixed in
18.04-ESM symfony affected
20.04-ESM symfony 4.3.8+dfsg-1ubuntu1+esm2
22.04 symfony affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.