{"id":"CVE-2022-24895","aliases":["BIT-symfony-2022-24895","DEBIAN-CVE-2022-24895","DLA-3493-1","EUVD-2023-0611","GHSA-3gv2-29qc-v67m","UBUNTU-CVE-2022-24895","USN-7272-1"],"status":"published","title":"Symfony vulnerable to Session Fixation of CSRF tokens","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.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0079,"percentile":0.566,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-384","CWE-613"],"published":"2023-02-01T18:48:06Z","modified":"2026-11-03T08:02:45Z","fixes":[{"ecosystem":"Packagist","package":"symfony/security-bundle","fixed_in":["4.4.50","5.4.20","6.0.20","6.1.12","6.2.6"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"symfony/symfony","fixed_in":["4.4.50","5.4.20","6.0.20","6.1.12","6.2.6"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"symfony","fixed_in":["4.4.50","5.4.20","6.0.20","6.1.12","6.2.6"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"symfony","fixed_in":["5.4.20+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"symfony","fixed_in":["5.4.20+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"symfony","fixed_in":["5.4.20+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"symfony","fixed_in":["4.3.8+dfsg-1ubuntu1+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"symfony","fixed_in":["5.4.4+dfsg-1ubuntu8+esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"4.4.50"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.4.20"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.20"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.12"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"4.4.50"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.4.20"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.20"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.12"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.6"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"symfony","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"4.4.50"},{"introduced":"5.0.0"},{"fixed":"5.4.20"},{"introduced":"6.0.0"},{"fixed":"6.0.20"},{"introduced":"6.1.0"},{"fixed":"6.1.12"},{"introduced":"6.2.0"},{"fixed":"6.2.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.20+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.20+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.20+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.22+dfsg-2+deb10u2"}]}],"versions":["3.4.22+dfsg-2","3.4.22+dfsg-2+deb10u1"],"bundled":3},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"4.4.50"}]}],"versions":["2.0.7","v2.0.10","v2.0.12","v2.0.13","v2.0.14","v2.0.15","v2.0.16","v2.0.17","v2.0.18","v2.0.19","v2.0.20","v2.0.21","v2.0.22","v2.0.23","v2.0.24","v2.0.25","v2.0.9","v2.1.0","v2.1.1","v2.1.10","v2.1.11","v2.1.12","v2.1.13","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.1.7","v2.1.8","v2.1.9","v2.2.0","v2.2.1","v2.2.10","v2.2.11","v2.2.2","v2.2.3","v2.2.4","v2.2.5","v2.2.6","v2.2.7","v2.2.8","v2.2.9","v2.3.0","v2.3.1","v2.3.10","v2.3.11","v2.3.12","v2.3.13","v2.3.14","v2.3.15","v2.3.16","v2.3.17","v2.3.18","v2.3.19","v2.3.2","v2.3.20","v2.3.21","v2.3.22","v2.3.23","v2.3.24","v2.3.25","v2.3.26","v2.3.27","v2.3.28","v2.3.29","v2.3.3","v2.3.30","v2.3.31","v2.3.32","v2.3.33","v2.3.34","v2.3.35","v2.3.36","v2.3.37","v2.3.38","v2.3.39","v2.3.4","v2.3.40","v2.3.41","v2.3.42","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-BETA1","v2.4.0-BETA2","v2.4.0-RC1","v2.4.1","v2.4.10","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-BETA1","v2.5.0-BETA2","v2.5.0-RC1","v2.5.1","v2.5.10","v2.5.11","v2.5.12","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-BETA1","v2.6.0-BETA2","v2.6.1","v2.6.10","v2.6.11","v2.6.12","v2.6.13","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.6.9","v2.7.0","v2.7.0-BETA1","v2.7.0-BETA2","v2.7.1","v2.7.10","v2.7.11","v2.7.12","v2.7.13","v2.7.14","v2.7.15","v2.7.16","v2.7.17","v2.7.18","v2.7.19","v2.7.2","v2.7.20","v2.7.21","v2.7.22","v2.7.23","v2.7.24","v2.7.25","v2.7.26","v2.7.27","v2.7.28","v2.7.29","v2.7.3","v2.7.30","v2.7.31","v2.7.32","v2.7.33","v2.7.34","v2.7.35","v2.7.36","v2.7.37","v2.7.38","v2.7.39","v2.7.4","v2.7.40","v2.7.41","v2.7.42","v2.7.43","v2.7.44","v2.7.45","v2.7.46","v2.7.47","v2.7.48","v2.7.49","v2.7.5","v2.7.50","v2.7.51","v2.7.6","v2.7.7","v2.7.8","v2.7.9","v2.8.0","v2.8.0-BETA1","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.13","v2.8.14","v2.8.15","v2.8.16","v2.8.17","v2.8.18","v2.8.19","v2.8.2","v2.8.20","v2.8.21","v2.8.22","v2.8.23","v2.8.24","v2.8.25","v2.8.26","v2.8.27","v2.8.28","v2.8.29","v2.8.3","v2.8.30","v2.8.31","v2.8.32","v2.8.33","v2.8.34","v2.8.35","v2.8.36","v2.8.37","v2.8.38","v2.8.39","v2.8.4","v2.8.40","v2.8.41","v2.8.42","v2.8.43","v2.8.44","v2.8.45","v2.8.46","v2.8.47","v2.8.48","v2.8.49","v2.8.5","v2.8.50","v2.8.52","v2.8.6","v2.8.7","v2.8.8","v2.8.9","v3.0.0","v3.0.0-BETA1","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0","v3.1.0-BETA1","v3.1.0-RC1","v3.1.1","v3.1.10","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9","v3.2.0","v3.2.0-BETA1","v3.2.0-RC1","v3.2.0-RC2","v3.2.1","v3.2.10","v3.2.11","v3.2.12","v3.2.13","v3.2.14","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6","v3.2.7","v3.2.8","v3.2.9","v3.3.0","v3.3.0-BETA1","v3.3.0-RC1","v3.3.1","v3.3.10","v3.3.11","v3.3.12","v3.3.13","v3.3.14","v3.3.15","v3.3.16","v3.3.17","v3.3.18","v3.3.2","v3.3.3","v3.3.4","v3.3.5","v3.3.6","v3.3.7","v3.3.8","v3.3.9","v3.4.0","v3.4.0-BETA1","v3.4.0-BETA2","v3.4.0-BETA3","v3.4.0-BETA4","v3.4.0-RC1","v3.4.0-RC2","v3.4.1","v3.4.10","v3.4.11","v3.4.12","v3.4.13","v3.4.14","v3.4.15","v3.4.16","v3.4.17","v3.4.18","v3.4.19","v3.4.2","v3.4.20","v3.4.21","v3.4.22","v3.4.23","v3.4.24","v3.4.25","v3.4.26","v3.4.27","v3.4.28","v3.4.29","v3.4.3","v3.4.30","v3.4.31","v3.4.32","v3.4.33","v3.4.34","v3.4.35","v3.4.36","v3.4.37","v3.4.38","v3.4.39","v3.4.4","v3.4.40","v3.4.41","v3.4.42","v3.4.43","v3.4.44","v3.4.45","v3.4.46","v3.4.47","v3.4.48","v3.4.5","v3.4.6","v3.4.7","v3.4.8","v3.4.9","v4.0.0","v4.0.0-BETA1","v4.0.0-BETA2","v4.0.0-BETA3","v4.0.0-BETA4","v4.0.0-RC1","v4.0.0-RC2","v4.0.1","v4.0.10","v4.0.11","v4.0.12","v4.0.13","v4.0.14","v4.0.15","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.6","v4.0.7","v4.0.8","v4.0.9","v4.1.0","v4.1.0-BETA1","v4.1.0-BETA2","v4.1.0-BETA3","v4.1.1","v4.1.10","v4.1.11","v4.1.12","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.1.6","v4.1.7","v4.1.8","v4.1.9","v4.2.0","v4.2.0-BETA1","v4.2.0-BETA2","v4.2.0-RC1","v4.2.1","v4.2.10","v4.2.11","v4.2.12","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.2.6","v4.2.7","v4.2.8","v4.2.9","v4.3.0","v4.3.0-BETA1","v4.3.0-BETA2","v4.3.0-RC1","v4.3.1","v4.3.10","v4.3.11","v4.3.2","v4.3.3","v4.3.4","v4.3.5","v4.3.6","v4.3.7","v4.3.8","v4.3.9","v4.4.0","v4.4.0-BETA1","v4.4.0-BETA2","v4.4.0-RC1","v4.4.1","v4.4.10","v4.4.11","v4.4.12","v4.4.13","v4.4.14","v4.4.15","v4.4.16","v4.4.17","v4.4.18","v4.4.19","v4.4.2","v4.4.20","v4.4.21","v4.4.22","v4.4.23","v4.4.25","v4.4.26","v4.4.27","v4.4.3","v4.4.34","v4.4.36","v4.4.37","v4.4.38","v4.4.4","v4.4.41","v4.4.42","v4.4.44","v4.4.5","v4.4.6","v4.4.7","v4.4.8","v4.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.4.20"}]}],"versions":["v5.0.0","v5.0.1","v5.0.10","v5.0.11","v5.0.2","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","v5.1.0","v5.1.0-BETA1","v5.1.0-RC1","v5.1.0-RC2","v5.1.1","v5.1.10","v5.1.11","v5.1.2","v5.1.3","v5.1.4","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9","v5.2.0","v5.2.0-BETA1","v5.2.0-BETA2","v5.2.0-BETA3","v5.2.0-RC1","v5.2.0-RC2","v5.2.1","v5.2.10","v5.2.11","v5.2.12","v5.2.2","v5.2.3","v5.2.4","v5.2.5","v5.2.6","v5.2.7","v5.2.8","v5.2.9","v5.3.0","v5.3.0-BETA1","v5.3.0-BETA3","v5.3.0-BETA4","v5.3.0-RC1","v5.3.11","v5.3.12","v5.3.13","v5.3.14","v5.3.2","v5.3.3","v5.3.4","v5.3.7","v5.3.8","v5.4.0","v5.4.0-BETA1","v5.4.0-BETA2","v5.4.0-BETA3","v5.4.0-RC1","v5.4.1","v5.4.11","v5.4.17","v5.4.19","v5.4.2","v5.4.3","v5.4.5","v5.4.8","v5.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.20"}]}],"versions":["v6.0.0","v6.0.1","v6.0.11","v6.0.17","v6.0.19","v6.0.2","v6.0.3","v6.0.5","v6.0.8","v6.0.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.12"}]}],"versions":["v6.1.0","v6.1.11","v6.1.3","v6.1.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.6"}]}],"versions":["v6.2.0","v6.2.2","v6.2.3","v6.2.5"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"4.4.50"}]}],"versions":["2.0.4","2.0.5","2.0.6","2.0.7","v2.0.10","v2.0.11","v2.0.12","v2.0.13","v2.0.14","v2.0.15","v2.0.16","v2.0.17","v2.0.18","v2.0.19","v2.0.20","v2.0.21","v2.0.22","v2.0.23","v2.0.24","v2.0.25","v2.0.9","v2.1.0","v2.1.0-BETA1","v2.1.0-BETA2","v2.1.0-BETA3","v2.1.0-BETA4","v2.1.0-RC1","v2.1.0-RC2","v2.1.1","v2.1.10","v2.1.11","v2.1.12","v2.1.13","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.1.7","v2.1.8","v2.1.9","v2.2.0","v2.2.0-BETA1","v2.2.0-BETA2","v2.2.0-RC1","v2.2.0-RC2","v2.2.0-RC3","v2.2.1","v2.2.10","v2.2.11","v2.2.2","v2.2.3","v2.2.4","v2.2.5","v2.2.6","v2.2.7","v2.2.8","v2.2.9","v2.3.0","v2.3.0-BETA1","v2.3.0-BETA2","v2.3.0-RC1","v2.3.1","v2.3.10","v2.3.11","v2.3.12","v2.3.13","v2.3.14","v2.3.15","v2.3.16","v2.3.17","v2.3.18","v2.3.19","v2.3.2","v2.3.20","v2.3.21","v2.3.22","v2.3.23","v2.3.24","v2.3.25","v2.3.26","v2.3.27","v2.3.28","v2.3.29","v2.3.3","v2.3.30","v2.3.31","v2.3.32","v2.3.33","v2.3.34","v2.3.35","v2.3.36","v2.3.37","v2.3.38","v2.3.39","v2.3.4","v2.3.40","v2.3.41","v2.3.42","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-BETA1","v2.4.0-BETA2","v2.4.0-RC1","v2.4.1","v2.4.10","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-BETA1","v2.5.0-BETA2","v2.5.0-RC1","v2.5.1","v2.5.10","v2.5.11","v2.5.12","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-BETA1","v2.6.0-BETA2","v2.6.1","v2.6.10","v2.6.11","v2.6.12","v2.6.13","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.6.9","v2.7.0","v2.7.0-BETA1","v2.7.0-BETA2","v2.7.1","v2.7.10","v2.7.11","v2.7.12","v2.7.13","v2.7.14","v2.7.15","v2.7.16","v2.7.17","v2.7.18","v2.7.19","v2.7.2","v2.7.20","v2.7.21","v2.7.22","v2.7.23","v2.7.24","v2.7.25","v2.7.26","v2.7.27","v2.7.28","v2.7.29","v2.7.3","v2.7.30","v2.7.31","v2.7.32","v2.7.33","v2.7.34","v2.7.35","v2.7.36","v2.7.37","v2.7.38","v2.7.39","v2.7.4","v2.7.40","v2.7.41","v2.7.42","v2.7.43","v2.7.44","v2.7.45","v2.7.46","v2.7.47","v2.7.48","v2.7.49","v2.7.5","v2.7.50","v2.7.51","v2.7.52","v2.7.6","v2.7.7","v2.7.8","v2.7.9","v2.8.0","v2.8.0-BETA1","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.13","v2.8.14","v2.8.15","v2.8.16","v2.8.17","v2.8.18","v2.8.19","v2.8.2","v2.8.20","v2.8.21","v2.8.22","v2.8.23","v2.8.24","v2.8.25","v2.8.26","v2.8.27","v2.8.28","v2.8.29","v2.8.3","v2.8.30","v2.8.31","v2.8.32","v2.8.33","v2.8.34","v2.8.35","v2.8.36","v2.8.37","v2.8.38","v2.8.39","v2.8.4","v2.8.40","v2.8.41","v2.8.42","v2.8.43","v2.8.44","v2.8.45","v2.8.46","v2.8.47","v2.8.48","v2.8.49","v2.8.5","v2.8.50","v2.8.51","v2.8.52","v2.8.6","v2.8.7","v2.8.8","v2.8.9","v3.0.0","v3.0.0-BETA1","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0","v3.1.0-BETA1","v3.1.0-RC1","v3.1.1","v3.1.10","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9","v3.2.0","v3.2.0-BETA1","v3.2.0-RC1","v3.2.0-RC2","v3.2.1","v3.2.10","v3.2.11","v3.2.12","v3.2.13","v3.2.14","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6","v3.2.7","v3.2.8","v3.2.9","v3.3.0","v3.3.0-BETA1","v3.3.0-RC1","v3.3.1","v3.3.10","v3.3.11","v3.3.12","v3.3.13","v3.3.14","v3.3.15","v3.3.16","v3.3.17","v3.3.18","v3.3.2","v3.3.3","v3.3.4","v3.3.5","v3.3.6","v3.3.7","v3.3.8","v3.3.9","v3.4.0","v3.4.0-BETA1","v3.4.0-BETA2","v3.4.0-BETA3","v3.4.0-BETA4","v3.4.0-RC1","v3.4.0-RC2","v3.4.1","v3.4.10","v3.4.11","v3.4.12","v3.4.13","v3.4.14","v3.4.15","v3.4.16","v3.4.17","v3.4.18","v3.4.19","v3.4.2","v3.4.20","v3.4.21","v3.4.22","v3.4.23","v3.4.24","v3.4.25","v3.4.26","v3.4.27","v3.4.28","v3.4.29","v3.4.3","v3.4.30","v3.4.31","v3.4.32","v3.4.33","v3.4.34","v3.4.35","v3.4.36","v3.4.37","v3.4.38","v3.4.39","v3.4.4","v3.4.40","v3.4.41","v3.4.42","v3.4.43","v3.4.44","v3.4.45","v3.4.46","v3.4.47","v3.4.48","v3.4.49","v3.4.5","v3.4.6","v3.4.7","v3.4.8","v3.4.9","v4.0.0","v4.0.0-BETA1","v4.0.0-BETA2","v4.0.0-BETA3","v4.0.0-BETA4","v4.0.0-RC1","v4.0.0-RC2","v4.0.1","v4.0.10","v4.0.11","v4.0.12","v4.0.13","v4.0.14","v4.0.15","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.6","v4.0.7","v4.0.8","v4.0.9","v4.1.0","v4.1.0-BETA1","v4.1.0-BETA2","v4.1.0-BETA3","v4.1.1","v4.1.10","v4.1.11","v4.1.12","v4.1.13","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.1.6","v4.1.7","v4.1.8","v4.1.9","v4.2.0","v4.2.0-BETA1","v4.2.0-BETA2","v4.2.0-RC1","v4.2.1","v4.2.10","v4.2.11","v4.2.12","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.2.6","v4.2.7","v4.2.8","v4.2.9","v4.3.0","v4.3.0-BETA1","v4.3.0-BETA2","v4.3.0-RC1","v4.3.1","v4.3.10","v4.3.11","v4.3.2","v4.3.3","v4.3.4","v4.3.5","v4.3.6","v4.3.7","v4.3.8","v4.3.9","v4.4.0","v4.4.0-BETA1","v4.4.0-BETA2","v4.4.0-RC1","v4.4.1","v4.4.10","v4.4.11","v4.4.12","v4.4.13","v4.4.14","v4.4.15","v4.4.16","v4.4.17","v4.4.18","v4.4.19","v4.4.2","v4.4.20","v4.4.21","v4.4.22","v4.4.23","v4.4.24","v4.4.25","v4.4.26","v4.4.27","v4.4.28","v4.4.29","v4.4.3","v4.4.30","v4.4.31","v4.4.32","v4.4.33","v4.4.34","v4.4.35","v4.4.36","v4.4.37","v4.4.38","v4.4.39","v4.4.4","v4.4.40","v4.4.41","v4.4.42","v4.4.43","v4.4.44","v4.4.45","v4.4.46","v4.4.47","v4.4.48","v4.4.49","v4.4.5","v4.4.6","v4.4.7","v4.4.8","v4.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.4.20"}]}],"versions":["v5.0.0","v5.0.1","v5.0.10","v5.0.11","v5.0.2","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","v5.1.0","v5.1.0-BETA1","v5.1.0-RC1","v5.1.0-RC2","v5.1.1","v5.1.10","v5.1.11","v5.1.2","v5.1.3","v5.1.4","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9","v5.2.0","v5.2.0-BETA1","v5.2.0-BETA2","v5.2.0-BETA3","v5.2.0-RC1","v5.2.0-RC2","v5.2.1","v5.2.10","v5.2.11","v5.2.12","v5.2.13","v5.2.14","v5.2.2","v5.2.3","v5.2.4","v5.2.5","v5.2.6","v5.2.7","v5.2.8","v5.2.9","v5.3.0","v5.3.0-BETA1","v5.3.0-BETA2","v5.3.0-BETA3","v5.3.0-BETA4","v5.3.0-RC1","v5.3.1","v5.3.10","v5.3.11","v5.3.12","v5.3.13","v5.3.14","v5.3.15","v5.3.16","v5.3.2","v5.3.3","v5.3.4","v5.3.5","v5.3.6","v5.3.7","v5.3.8","v5.3.9","v5.4.0","v5.4.0-BETA1","v5.4.0-BETA2","v5.4.0-BETA3","v5.4.0-RC1","v5.4.1","v5.4.10","v5.4.11","v5.4.12","v5.4.13","v5.4.14","v5.4.15","v5.4.16","v5.4.17","v5.4.18","v5.4.19","v5.4.2","v5.4.3","v5.4.4","v5.4.5","v5.4.6","v5.4.7","v5.4.8","v5.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.20"}]}],"versions":["v6.0.0","v6.0.1","v6.0.10","v6.0.11","v6.0.12","v6.0.13","v6.0.14","v6.0.15","v6.0.16","v6.0.17","v6.0.18","v6.0.19","v6.0.2","v6.0.3","v6.0.4","v6.0.5","v6.0.6","v6.0.7","v6.0.8","v6.0.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.12"}]}],"versions":["v6.1.0","v6.1.1","v6.1.10","v6.1.11","v6.1.2","v6.1.3","v6.1.4","v6.1.5","v6.1.6","v6.1.7","v6.1.8","v6.1.9"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.6"}]}],"versions":["v6.2.0","v6.2.1","v6.2.2","v6.2.3","v6.2.4","v6.2.5"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1+dfsg-1","2.7.5+dfsg-1","2.7.9+dfsg-1","2.7.9+dfsg-1ubuntu2","2.7.10-0ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.7+dfsg-1.3ubuntu1","3.4.3+dfsg-1ubuntu4","3.4.6+dfsg-1","3.4.6+dfsg-1ubuntu0.1","3.4.6+dfsg-1ubuntu0.1+esm1","3.4.6+dfsg-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.8+dfsg-1ubuntu1+esm2"}]}],"versions":["4.3.4+dfsg-1ubuntu1","4.3.8+dfsg-1ubuntu1","4.3.8+dfsg-1ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4+dfsg-1ubuntu8+esm1"}]}],"versions":["5.2.6+dfsg-1ubuntu7","5.4.4+dfsg-1ubuntu8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.8+dfsg-1ubuntu1+esm2"}]}],"versions":["4.3.4+dfsg-1ubuntu1","4.3.8+dfsg-1ubuntu1","4.3.8+dfsg-1ubuntu1+esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4+dfsg-1ubuntu8+esm1"}]}],"versions":["5.2.6+dfsg-1ubuntu7","5.4.4+dfsg-1ubuntu8"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.5+dfsg-3ubuntu3+esm1"}]}],"versions":["5.4.23+dfsg-1ubuntu1","5.4.35+dfsg-3ubuntu1","6.4.5+dfsg-3ubuntu2","6.4.5+dfsg-3ubuntu3"],"bundled":9}],"products":[{"vendor":"sensiolabs","product":"symfony"},{"vendor":"symfony","product":"symfony"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web","advisory"]},{"url":"https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946","tags":["x_refsource_MISC","x_transferred","Patch","web","fix"]},{"url":"https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4","tags":["x_refsource_MISC","x_transferred","Patch","web","fix"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml","tags":["x_refsource_MISC","x_transferred","Issue Tracking","web","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","tags":["x_transferred","web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-24895.yaml","tags":["web"]},{"url":"https://symfony.com/cve-2022-24895","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24895","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3gv2-29qc-v67m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24895.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-24895","tags":["advisory"]},{"url":"https://github.com/symfony/symfony","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-24895","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24895","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7272-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-24894","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-46734","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50340","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50341","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50342","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50343","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50345","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-51996","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-24895","title":"Symfony vulnerable to Session Fixation of CSRF tokens","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.","status":"published","published":"2023-02-03T21:45:26.887Z","modified":"2025-03-10T21:16:31.513Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2023-0611","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.","status":"published","published":"2023-02-03T21:45:26Z","modified":"2025-03-10T21:16:31Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:53:09.197707Z"}],"ghsa":[{"id":"GHSA-3gv2-29qc-v67m","title":"Symfony vulnerable to Session Fixation of CSRF tokens","description":"Description\n-----------\n\nWhen 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](https://canitakeyoursubdomain.name/) to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation.\n\nResolution\n----------\n\nSymfony removes all CSRF tokens from the session on successful login.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4) for branch 4.4.\n\nCredits\n-------\n\nWe would like to thank Marco Squarcina for reporting the issue and Nicolas Grekas for fixing it.","status":"published","published":"2023-02-01T18:48:06Z","modified":"2023-07-12T14:21:12Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-384","CWE-613"],"updated_at":"2026-11-02T14:36:56.605555Z"}],"nvd":[{"id":"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.","status":"published","published":"2023-02-03T22:15:11.273Z","modified":"2026-06-17T04:32:45.11Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-384","CWE-613"],"updated_at":"2026-11-02T14:07:36.026349Z"}],"osv":[{"id":"CVE-2022-24895","title":"Symfony vulnerable to Session Fixation of CSRF tokens","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.","status":"published","published":"2023-02-03T21:45:26.887Z","modified":"2026-10-28T02:31:12.008076152Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"DEBIAN-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.","status":"published","published":"2023-02-03T22:15:11.273Z","modified":"2026-11-03T08:02:45.063605212Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T08:24:39.643572Z"},{"id":"GHSA-3gv2-29qc-v67m","title":"Symfony vulnerable to Session Fixation of CSRF tokens","description":"Description\n-----------\n\nWhen 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](https://canitakeyoursubdomain.name/) to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation.\n\nResolution\n----------\n\nSymfony removes all CSRF tokens from the session on successful login.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4) for branch 4.4.\n\nCredits\n-------\n\nWe would like to thank Marco Squarcina for reporting the issue and Nicolas Grekas for fixing it.","status":"published","published":"2023-02-01T18:48:06Z","modified":"2025-02-13T18:50:25.319043Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-384","CWE-613"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"UBUNTU-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.","status":"published","published":"2023-02-03T22:15:00Z","modified":"2026-02-04T04:19:35.664391Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"BIT-symfony-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. ","status":"published","published":"2024-03-06T11:07:02.565Z","modified":"2024-03-06T11:25:28.861Z","updated_at":"2026-11-02T15:28:35.51001Z"},{"id":"DLA-3493-1","title":"symfony - security update","status":"published","published":"2023-07-11T00:00:00Z","modified":"2026-03-09T01:20:03.769307Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"USN-7272-1","title":"symfony vulnerabilities","description":"Soner Sayakci discovered that Symfony incorrectly handled cookie storage in\nthe web cache. An attacker could possibly use this issue to obtain\nsensitive information and access unauthorized resources. (CVE-2022-24894)\n\nMarco Squarcina discovered that Symfony incorrectly handled the storage of\nuser session information. An attacker could possibly use this issue to\nperform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)\n\nPierre Rudloff discovered that Symfony incorrectly checked HTML input. An\nattacker could possibly use this issue to perform cross site scripting.\n(CVE-2023-46734)\n\nVladimir Dusheyko discovered that Symfony incorrectly sanitized special\ninput with a PHP directive in URL query strings. An attacker could possibly\nuse this issue to expose sensitive information or cause a denial of\nservice. This issue only affected Ubuntu 24.04 LTS and Ubuntu 22.04 LTS.\n(CVE-2024-50340)\n\nOleg Andreyev, Antoine Makdessi, and Moritz Rauch discovered that Symfony\nincorrectly handled user authentication. An attacker could possibly use\nthis issue to access unauthorized resources and expose sensitive\ninformation. This issue was only addressed in Ubuntu 24.04 LTS.\n(CVE-2024-50341, CVE-2024-51996)\n\nLinus Karlsson and Chris Smith discovered that Symfony returned internal\nhost information during host resolution. An attacker could possibly use\nthis issue to obtain sensitive information. This issue only affected Ubuntu\n24.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-50342)\n\nIt was discovered that Symfony incorrectly parsed user input through\nregular expressions. An attacker could possibly use this issue to expose\nsensitive information. (CVE-2024-50343)\n\nSam Mush discovered that Symfony incorrectly parsed URIs with special\ncharacters. An attacker could possibly use this issue to perform phishing\nattacks. (CVE-2024-50345)\n","status":"published","published":"2025-02-18T16:01:48Z","modified":"2026-04-27T17:44:05.08617Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
