Name | CVE-2023-46733 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1055775 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
symfony (PTS) | jessie, jessie (lts) | 2.3.21+dfsg-4+deb8u6 | fixed |
stretch (security) | 2.8.7+dfsg-1.3+deb9u3 | fixed | |
stretch (lts), stretch | 2.8.7+dfsg-1.3+deb9u5 | fixed | |
buster (security), buster, buster (lts) | 3.4.22+dfsg-2+deb10u3 | fixed | |
bullseye | 4.4.19+dfsg-2+deb11u6 | fixed | |
bookworm | 5.4.23+dfsg-1+deb12u2 | fixed | |
bookworm (security) | 5.4.23+dfsg-1+deb12u4 | fixed | |
sid, trixie | 6.4.16+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
symfony | source | jessie | (not affected) | |||
symfony | source | stretch | (not affected) | |||
symfony | source | buster | (not affected) | |||
symfony | source | bullseye | (not affected) | |||
symfony | source | bookworm | 5.4.23+dfsg-1+deb12u1 | |||
symfony | source | (unstable) | 5.4.31+dfsg-1 | 1055775 |
[bullseye] - symfony <not-affected> (Vulnerable code introduced later)
[buster] - symfony <not-affected> (Vulnerable code introduced later)
https://github.com/symfony/symfony/security/advisories/GHSA-m2wj-r6g3-fxfx
https://github.com/symfony/symfony/commit/dc356499d5ceb86f7cf2b4c7f032eca97061ed74 (v5.4.31, v6.3.8)
[stretch] - symfony <not-affected> (Vulnerable code introduced later)
[jessie] - symfony <not-affected> (Vulnerable code introduced later)