CVE-2022-24895
Symfony vulnerable to Session Fixation of CSRF tokens
6.3
MEDIUM
CVSS 3.1
EPSS 0.03%
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.
How to fix CVE-2022-24895
To remediate CVE-2022-24895, upgrade the affected package to a fixed version below.
- —upgrade to 4.4.50 or later
- —upgrade to 4.4.19+dfsg-2+deb11u2 or later
- —upgrade to 4.4.50 or later
- —upgrade to 4.4.50 or later
Is CVE-2022-24895 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 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
- from 0, < 4.4.19+dfsg-2+deb11u2
- >= 2.0.0, < 4.4.50
- >= 2.0.0, < 4.4.50
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |