{
    "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"
            }
        ]
    }
}