🛡️ CVE-2022-24895 on Debian — symfony
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.
Distribution advisory
This page covers CVE-2022-24895 as tracked by Debian, for the package symfony. The fix is available in version 5.4.20+dfsg-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-24895 is classified as CWE-384: Session Fixation. A session identifier is not renewed at login, so an identifier planted beforehand becomes an authenticated session.
Affected software
DEBIAN-CVE-2022-24895 is recorded against 1 package.
- symfony (fixed in 5.4.20+dfsg-1)
Timeline and source
Published on 3 February 2023 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-24895 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| symfony | — | 5.4.20+dfsg-1 |
References
Similar Threats
- Medium CVE-2026-24739
- Medium CVE-2025-68129
- High CVE-2025-64500
- Low CVE-2024-50345
- High CVE-2024-51736
Site Security Check
Is symfony part of your stack?
DEBIAN-CVE-2022-24895 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.