{"id":"GHSA-jxgr-3v7q-3w9v","aliases":["CVE-2024-50341"],"title":"Symfony's `Security::login` does not take into account custom `user_checker`","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"LOW","description":"### Description\n\nThe custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login.\n\n### Resolution\n\nThe `Security::login` method now ensure to call the configured `user_checker`.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105) for branch 6.4.\n\n### Credits\n\nWe would like to thank Oleg Andreyev, Antoine MAKDESSI for reporting the issue and Christian Flothmann for providing the fix.","severity":"low","score":3.1,"published":"2024-11-06T15:13:42.000Z","modified":"2024-11-07T00:09:49.602Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"symfony/security-bundle","sources":[{"name":"OSV · GHSA-jxgr-3v7q-3w9v","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"ranges":[{"events":[{"introduced":"6.2.0"},{"fixed":"6.4.10"}],"type":"ECOSYSTEM"}],"versions":["v6.2.0","v6.2.10","v6.2.11","v6.2.12","v6.2.13","v6.2.2","v6.2.3","v6.2.5","v6.2.6","v6.2.7","v6.2.8","v6.3.0","v6.3.0-BETA1","v6.3.0-BETA2","v6.3.0-RC1","v6.3.0-RC2","v6.3.1","v6.3.11","v6.3.12","v6.3.2","v6.3.3","v6.3.4","v6.3.5","v6.3.6","v6.3.7","v6.3.8","v6.4.0","v6.4.0-BETA1","v6.4.0-BETA2","v6.4.0-BETA3","v6.4.0-RC1","v6.4.2","v6.4.3","v6.4.4","v6.4.5","v6.4.6","v6.4.7","v6.4.8","v6.4.9"],"fixed":["6.4.10"]},{"ecosystem":"Packagist","name":"symfony/security-bundle","sources":[{"name":"OSV · GHSA-jxgr-3v7q-3w9v","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"ranges":[{"events":[{"introduced":"7.0.0"},{"fixed":"7.0.10"}],"type":"ECOSYSTEM"}],"versions":["v7.0.0","v7.0.2","v7.0.3","v7.0.4","v7.0.5","v7.0.6","v7.0.7","v7.0.8","v7.0.9"],"fixed":["7.0.10"]},{"ecosystem":"Packagist","name":"symfony/security-bundle","sources":[{"name":"OSV · GHSA-jxgr-3v7q-3w9v","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"ranges":[{"events":[{"introduced":"7.1.0"},{"fixed":"7.1.3"}],"type":"ECOSYSTEM"}],"versions":["v7.1.0","v7.1.1","v7.1.2"],"fixed":["7.1.3"]},{"ecosystem":"Packagist","name":"symfony/symfony","sources":[{"name":"OSV · GHSA-jxgr-3v7q-3w9v","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"ranges":[{"events":[{"introduced":"6.2.0"},{"fixed":"6.4.10"}],"type":"ECOSYSTEM"}],"versions":["v6.2.0","v6.2.1","v6.2.10","v6.2.11","v6.2.12","v6.2.13","v6.2.14","v6.2.2","v6.2.3","v6.2.4","v6.2.5","v6.2.6","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.10","v6.3.11","v6.3.12","v6.3.2","v6.3.3","v6.3.4","v6.3.5","v6.3.6","v6.3.7","v6.3.8","v6.3.9","v6.4.0","v6.4.0-BETA1","v6.4.0-BETA2","v6.4.0-BETA3","v6.4.0-RC1","v6.4.0-RC2","v6.4.1","v6.4.2","v6.4.3","v6.4.4","v6.4.5","v6.4.6","v6.4.7","v6.4.8","v6.4.9"],"fixed":["6.4.10"]},{"ecosystem":"Packagist","name":"symfony/symfony","sources":[{"name":"OSV · GHSA-jxgr-3v7q-3w9v","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"ranges":[{"events":[{"introduced":"7.0.0"},{"fixed":"7.0.10"}],"type":"ECOSYSTEM"}],"versions":["v7.0.0","v7.0.1","v7.0.2","v7.0.3","v7.0.4","v7.0.5","v7.0.6","v7.0.7","v7.0.8","v7.0.9"],"fixed":["7.0.10"]},{"ecosystem":"Packagist","name":"symfony/symfony","sources":[{"name":"OSV · GHSA-jxgr-3v7q-3w9v","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"ranges":[{"events":[{"introduced":"7.1.0"},{"fixed":"7.1.3"}],"type":"ECOSYSTEM"}],"versions":["v7.1.0","v7.1.1","v7.1.2"],"fixed":["7.1.3"]}],"sourceAffected":[],"references":["https://github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v","https://nvd.nist.gov/vuln/detail/CVE-2024-50341","https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105","https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml","https://github.com/symfony/symfony","https://symfony.com/cve-2024-50341"],"sources":[{"name":"OSV","id":"GHSA-jxgr-3v7q-3w9v","modified":"2024-11-07T00:09:49.602756Z","url":"https://osv.dev/vulnerability/GHSA-jxgr-3v7q-3w9v"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T22:40:32.770Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}