{"schemaVersion":3,"id":"CVE-2022-24895","aliases":["UBUNTU-CVE-2022-24895","DEBIAN-CVE-2022-24895"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-02-03T21:45:26.887Z","modified":"2025-03-10T21:16:31.513Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0079,"percentile":0.55548,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0079},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0079,"percentile":0.55548}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0079,"percentile":0.55548}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-384","name":"Session Fixation","description":"Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/384.html"},{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"}],"affected":[{"vendor":"debian","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/symfony","purlType":"deb","versions":[{"text":"< 5.4.20+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.20+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/symfony","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.3.8+dfsg-1ubuntu1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.4.4+dfsg-1ubuntu8+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.3.8+dfsg-1ubuntu1+esm2 | < 5.4.4+dfsg-1ubuntu8+esm1","eol":null,"hubHref":null},{"vendor":"sensiolabs","product":"symfony","name":"symfony","label":"symfony","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 4.4.50","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.4.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.1.0, < 6.1.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"symfony","label":"Symfony","category":"framework"}},"hubHref":"/vendor/sensiolabs/symfony"},{"vendor":"symfony","product":"symfony","name":"symfony","label":"symfony","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 4.4.50","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.4.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.1.0, < 6.1.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/symfony/symfony"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m","label":"github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946","label":"github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4","label":"github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml","label":"github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","label":"lists.debian.org/debian-lts-announce/2023/07/msg00014.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2022-24895","label":"ubuntu.com/security/CVE-2022-24895","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24895","label":"www.cve.org/CVERecord?id=CVE-2022-24895","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7272-1","label":"ubuntu.com/security/notices/USN-7272-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-24895","label":"security-tracker.debian.org/tracker/CVE-2022-24895","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3493-1","USN-7272-1"],"duplicates":[],"related":["USN-7272-1"]},"timeline":[{"kind":"published","date":"2023-02-03T21:45:26.887Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:16:31.513Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:37:29.681Z","stale":false,"partial":false}}