Live threats

All CVEs / Sensiolabs

CVE-2023-46733Sensiolabs Symfony

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
Yes
Published
Nov 10, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-384
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/security-http ≥ 5.4.21 < 5.4.31 5.4.31 composer require "symfony/security-http:^5.4.31"
Packagist symfony/security-http ≥ 6.2.7 < 6.3.8 6.3.8 composer require "symfony/security-http:^6.3.8"
Packagist symfony/symfony ≥ 5.4.21 < 5.4.31 5.4.31 composer require "symfony/symfony:^5.4.31"
Packagist symfony/symfony ≥ 6.2.7 < 6.3.8 6.3.8 composer require "symfony/symfony:^6.3.8"

Per OSV / GitHub Advisories (GHSA-m2wj-r6g3-fxfx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≥ 5.4.21 < 5.4.31
sensiolabssymfony≥ 6.2.7 < 6.3.8

Official sources

References

Links published by the sources. Open them with care.