Skip to content
Heist/ feed
Back to feed
HighFix available

symfony — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-24895

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.

Products
symfony
Affected versions
Not specified
Fixed versions
5.4.20+dfsg-1
CVEs
CVE-2022-24895
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:35 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-24895

core-osv · Original source

Published 3 Feb 2023, 22:15 UTC

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.

osv:DEBIAN-CVE-2022-24895

symfony

Fixed versions: 5.4.20+dfsg-1

symfony

Fixed versions: 5.4.20+dfsg-1

symfony

Fixed versions: 5.4.20+dfsg-1

Complete source record
{
  "id": "035ba738ac930ab5edc9c59618b50437c70ea739e87777bce88fa77c998f0da9",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-24895",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-24895",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2022-24895",
    "products": [
      {
        "name": {
          "value": "symfony",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.20+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "symfony",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.20+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "symfony",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.20+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-24895",
      "aliases": [
        "DEBIAN-CVE-2022-24895"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.20+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "symfony",
            "purl": "pkg:deb/debian/symfony?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24895.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.20+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "symfony",
            "purl": "pkg:deb/debian/symfony?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24895.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.20+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "symfony",
            "purl": "pkg:deb/debian/symfony?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24895.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:00:51.791837982Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-24895"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-24895"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-24895",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322687,
  "published_at": "2023-02-03T22:15:11.273+00:00"
}