CVE-2023-46733

Source
https://cve.org/CVERecord?id=CVE-2023-46733
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46733.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-46733
Aliases
Downstream
Published
2023-11-10T17:09:13.936Z
Modified
2026-03-11T15:29:14.887658Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Symfony possible session fixation vulnerability
Details

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 5.4.21 and 6.2.7 and prior to versions 5.4.31 and 6.3.8, SessionStrategyListener does not migrate the session after every successful login. It does so only in case the logged in user changes by means of checking the user identifier. In some use cases, the user identifier doesn't change between the verification phase and the successful login, while the token itself changes from one type (partially-authenticated) to another (fully-authenticated). When this happens, the session id should be regenerated to prevent possible session fixations, which is not the case at the moment. As of versions 5.4.31 and 6.3.8, Symfony now checks the type of the token in addition to the user identifier before deciding whether the session id should be regenerated.

Database specific
{
    "cwe_ids": [
        "CWE-384"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46733.json"
}
References

Affected packages

Git / github.com/symfony/symfony

Affected ranges

Type
GIT
Repo
https://github.com/symfony/symfony
Events
Database specific
{
    "versions": [
        {
            "introduced": "5.4.21"
        },
        {
            "fixed": "5.4.31"
        }
    ]
}
Type
GIT
Repo
https://github.com/symfony/symfony
Events
Database specific
{
    "versions": [
        {
            "introduced": "6.2.7"
        },
        {
            "fixed": "6.3.8"
        }
    ]
}

Affected versions

v4.*
v4.4.50
v5.*
v5.4.21
v5.4.22
v5.4.23
v5.4.24
v5.4.25
v5.4.26
v5.4.27
v5.4.28
v5.4.29
v5.4.30
v6.*
v6.2.10
v6.2.11
v6.2.12
v6.2.13
v6.2.14
v6.2.7
v6.2.8
v6.2.9
v6.3.0
v6.3.0-BETA1
v6.3.0-BETA2
v6.3.0-BETA3
v6.3.0-RC1
v6.3.0-RC2
v6.3.1
v6.3.2
v6.3.3
v6.3.4
v6.3.5
v6.3.6
v6.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46733.json"