{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/46377?format=json","vulnerability_id":"VCID-yz7m-n4f4-9bax","summary":"Symfony possible session fixation vulnerability\nSymfony 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 does not 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.","aliases":[{"alias":"CVE-2023-46733"},{"alias":"GHSA-m2wj-r6g3-fxfx"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67688?format=json","purl":"pkg:composer/symfony/security-http@5.4.31","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@5.4.31"},{"url":"http://public2.vulnerablecode.io/api/packages/67681?format=json","purl":"pkg:composer/symfony/security-http@6.3.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@6.3.8"},{"url":"http://public2.vulnerablecode.io/api/packages/67683?format=json","purl":"pkg:composer/symfony/serializer@5.4.31","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@5.4.31"},{"url":"http://public2.vulnerablecode.io/api/packages/67679?format=json","purl":"pkg:composer/symfony/serializer@6.3.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@6.3.8"},{"url":"http://public2.vulnerablecode.io/api/packages/67676?format=json","purl":"pkg:composer/symfony/symfony@5.4.31","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@5.4.31"},{"url":"http://public2.vulnerablecode.io/api/packages/67677?format=json","purl":"pkg:composer/symfony/symfony@6.3.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@6.3.8"},{"url":"http://public2.vulnerablecode.io/api/packages/130154?format=json","purl":"pkg:deb/debian/symfony@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/130150?format=json","purl":"pkg:deb/debian/symfony@4.4.19%2Bdfsg-2%2Bdeb11u6?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4av2-4k9f-byb5"},{"vulnerability":"VCID-6v9h-7sk2-cbap"},{"vulnerability":"VCID-7wrn-mbd7-d7ah"},{"vulnerability":"VCID-bhnt-pgq7-yya3"},{"vulnerability":"VCID-duk3-7fw9-xbcq"},{"vulnerability":"VCID-h11w-bz83-wug4"},{"vulnerability":"VCID-jcjs-qt7d-syfb"},{"vulnerability":"VCID-m2u1-mytm-63cx"},{"vulnerability":"VCID-mj2s-4kzv-1ue6"},{"vulnerability":"VCID-p6dz-c7ee-1fg9"},{"vulnerability":"VCID-pdhd-87qs-m7hp"},{"vulnerability":"VCID-phfm-mhxk-fyde"},{"vulnerability":"VCID-puu2-f43k-tbc2"},{"vulnerability":"VCID-qchu-m5ka-nud8"},{"vulnerability":"VCID-r9n1-p36r-zbhy"},{"vulnerability":"VCID-rahf-hzw6-rqgm"},{"vulnerability":"VCID-rfnv-6wry-z7f1"},{"vulnerability":"VCID-wmjm-3p6s-e3am"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@4.4.19%252Bdfsg-2%252Bdeb11u6%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/130180?format=json","purl":"pkg:deb/debian/symfony@5.4.23%2Bdfsg-1%2Bdeb12u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@5.4.23%252Bdfsg-1%252Bdeb12u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/130148?format=json","purl":"pkg:deb/debian/symfony@5.4.23%2Bdfsg-1%2Bdeb12u5?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfnv-6wry-z7f1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@5.4.23%252Bdfsg-1%252Bdeb12u5%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/130181?format=json","purl":"pkg:deb/debian/symfony@5.4.31%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@5.4.31%252Bdfsg-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/130152?format=json","purl":"pkg:deb/debian/symfony@6.4.21%2Bdfsg-2%2Bdeb13u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfnv-6wry-z7f1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@6.4.21%252Bdfsg-2%252Bdeb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/130151?format=json","purl":"pkg:deb/debian/symfony@7.4.13%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/symfony@7.4.13%252Bdfsg-1%3Fdistro=trixie"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67689?format=json","purl":"pkg:composer/symfony/security-http@5.4.21","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-yz7m-n4f4-9bax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@5.4.21"},{"url":"http://public2.vulnerablecode.io/api/packages/67690?format=json","purl":"pkg:composer/symfony/security-http@6.2.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-yz7m-n4f4-9bax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@6.2.7"},{"url":"http://public2.vulnerablecode.io/api/packages/67684?format=json","purl":"pkg:composer/symfony/serializer@5.4.21","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-yz7m-n4f4-9bax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@5.4.21"},{"url":"http://public2.vulnerablecode.io/api/packages/67685?format=json","purl":"pkg:composer/symfony/serializer@6.2.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-yz7m-n4f4-9bax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@6.2.7"},{"url":"http://public2.vulnerablecode.io/api/packages/67674?format=json","purl":"pkg:composer/symfony/symfony@5.4.21","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-yz7m-n4f4-9bax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@5.4.21"},{"url":"http://public2.vulnerablecode.io/api/packages/67675?format=json","purl":"pkg:composer/symfony/symfony@6.2.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-yz7m-n4f4-9bax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@6.2.7"}],"references":[{"reference_url":"https://github.com/symfony/symfony","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/symfony/symfony"},{"reference_url":"https://github.com/symfony/symfony/commit/7467bd7e3f888b333102bc664b5e02ef1e7f88b9","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/symfony/symfony/commit/7467bd7e3f888b333102bc664b5e02ef1e7f88b9"},{"reference_url":"https://github.com/symfony/symfony/commit/dc356499d5ceb86f7cf2b4c7f032eca97061ed74","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/symfony/symfony/commit/dc356499d5ceb86f7cf2b4c7f032eca97061ed74"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055775","reference_id":"1055775","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055775"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46733","reference_id":"CVE-2023-46733","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46733"},{"reference_url":"https://symfony.com/cve-2023-46733","reference_id":"CVE-2023-46733","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://symfony.com/cve-2023-46733"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46733.yaml","reference_id":"CVE-2023-46733.YAML","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46733.yaml"},{"reference_url":"https://github.com/advisories/GHSA-m2wj-r6g3-fxfx","reference_id":"GHSA-m2wj-r6g3-fxfx","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-m2wj-r6g3-fxfx"},{"reference_url":"https://github.com/symfony/symfony/security/advisories/GHSA-m2wj-r6g3-fxfx","reference_id":"GHSA-m2wj-r6g3-fxfx","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/symfony/symfony/security/advisories/GHSA-m2wj-r6g3-fxfx"}],"weaknesses":[{"cwe_id":384,"name":"Session Fixation","description":"Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-yz7m-n4f4-9bax"}