{"api_version":"1","generated_at":"2026-04-30T16:05:40+00:00","cve":"CVE-2022-24895","urls":{"html":"https://cve.report/CVE-2022-24895","api":"https://cve.report/api/cve/CVE-2022-24895.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24895","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24895"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-03 22:15:00","updated_at":"2023-07-12 01:15:00"},"problem_types":["CWE-384"],"metrics":[],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml","name":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml","refsource":"MISC","tags":[],"title":"security-advisories/CVE-2022-24895.yaml at master · FriendsOfPHP/security-advisories · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946","name":"https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946","refsource":"MISC","tags":[],"title":"[Security/Http] Remove CSRF tokens from storage on successful login · symfony/security-bundle@076fd20 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","name":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3493-1] symfony security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4","name":"https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4","refsource":"MISC","tags":[],"title":"[Security/Http] Remove CSRF tokens from storage on successful login · symfony/symfony@5909d74 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m","name":"https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m","refsource":"MISC","tags":[],"title":"Possible CSRF token fixation · Advisory · symfony/symfony · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24895","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24895","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"24895","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sensiolabs","cpe5":"symfony","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-24895","qid":"183709","title":"Debian Security Update for symfony (CVE-2022-24895)"},{"cve":"CVE-2022-24895","qid":"283696","title":"Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2023-74b702f058)"},{"cve":"CVE-2022-24895","qid":"283698","title":"Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2023-aecde14648)"},{"cve":"CVE-2022-24895","qid":"6000143","title":"Debian Security Update for symfony (DLA 3493-1)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-24895","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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. \n\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-384: Session Fixation","cweId":"CWE-384"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"symfony","product":{"product_data":[{"product_name":"symfony","version":{"version_data":[{"version_affected":"=","version_value":">= 2.0.0, < 4.4.50"},{"version_affected":"=","version_value":">= 5.0.0, < 5.4.20"},{"version_affected":"=","version_value":">= 6.0.0, < 6.0.20"},{"version_affected":"=","version_value":">= 6.1.0, < 6.1.12"},{"version_affected":"=","version_value":">= 6.2.0, < 6.2.6"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m","refsource":"MISC","name":"https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m"},{"url":"https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946","refsource":"MISC","name":"https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946"},{"url":"https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4","refsource":"MISC","name":"https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4"},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml","refsource":"MISC","name":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html"}]},"source":{"advisory":"GHSA-3gv2-29qc-v67m","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-03 22:15:00","lastModifiedDate":"2023-07-12 01:15:00","problem_types":["CWE-384"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2.0","versionEndExcluding":"6.2.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.0","versionEndExcluding":"6.1.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.0","versionEndExcluding":"6.0.20","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"4.4.50","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.4.20","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"24895","Ordinal":"228314","Title":"CVE-2022-24895","CVE":"CVE-2022-24895","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"24895","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}