{"id":"CVE-2024-50341","aliases":["DEBIAN-CVE-2024-50341","EUVD-2024-3280","GHSA-jxgr-3v7q-3w9v","UBUNTU-CVE-2024-50341","USN-7272-1"],"status":"published","title":"Security::login does not take into account custom user_checker in symfony/security-bundle","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","severity":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00311,"percentile":0.24203,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2024-11-06T15:13:42Z","modified":"2026-11-02T12:02:55Z","fixes":[{"ecosystem":"Packagist","package":"symfony/security-bundle","fixed_in":["6.4.10","7.0.10","7.1.3"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"symfony/symfony","fixed_in":["6.4.10","7.0.10","7.1.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"symfony","fixed_in":["6.4.10+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"symfony","fixed_in":["6.4.10+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"symfony","fixed_in":["6.4.5+dfsg-3ubuntu3+esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.10+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.10+dfsg-1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.10"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.10"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/security-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.3"}]}],"versions":["v7.1.0","v7.1.1","v7.1.2"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.10"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.10"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"symfony/symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.3"}]}],"versions":["v7.1.0","v7.1.1","v7.1.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.5+dfsg-3ubuntu3+esm1"}]}],"versions":["5.4.23+dfsg-1ubuntu1","5.4.35+dfsg-3ubuntu1","6.4.5+dfsg-3ubuntu2","6.4.5+dfsg-3ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.8+dfsg-1ubuntu1+esm2"}]}],"versions":["4.3.4+dfsg-1ubuntu1","4.3.8+dfsg-1ubuntu1","4.3.8+dfsg-1ubuntu1+esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4+dfsg-1ubuntu8+esm1"}]}],"versions":["5.2.6+dfsg-1ubuntu7","5.4.4+dfsg-1ubuntu8"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"symfony","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.5+dfsg-3ubuntu3+esm1"}]}],"versions":["5.4.23+dfsg-1ubuntu1","5.4.35+dfsg-3ubuntu1","6.4.5+dfsg-3ubuntu2","6.4.5+dfsg-3ubuntu3"],"bundled":9}],"products":[{"vendor":"symfony","product":"symfony"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v","tags":["x_refsource_CONFIRM","advisory","web","report"]},{"url":"https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml","tags":["web"]},{"url":"https://symfony.com/cve-2024-50341","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50341","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jxgr-3v7q-3w9v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50341.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-50341","tags":["advisory"]},{"url":"https://github.com/symfony/symfony","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-50341","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-50341","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7272-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-24894","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-24895","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-46734","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50340","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50342","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50343","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50345","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-51996","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-50341","title":"Security::login does not take into account custom user_checker in symfony/security-bundle","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","status":"published","published":"2024-11-06T21:06:49.426Z","modified":"2024-11-07T15:27:06.6Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:34:22.153872Z"}],"euvd":[{"id":"EUVD-2024-3280","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","status":"published","published":"2024-11-06T21:06:49Z","modified":"2024-11-07T15:27:06Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-03T00:05:08.272544Z"}],"ghsa":[{"id":"GHSA-jxgr-3v7q-3w9v","title":"Symfony's `Security::login` does not take into account custom `user_checker`","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.","status":"published","published":"2024-11-06T15:13:42Z","modified":"2024-11-06T23:40:00Z","cvss":[{"version":"4.0","score":2.3,"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","level":"low"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:38:16.477822Z"}],"nvd":[{"id":"CVE-2024-50341","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","status":"published","published":"2024-11-06T21:15:05.747Z","modified":"2026-06-17T08:04:16.14Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:10:36.560164Z"}],"osv":[{"id":"CVE-2024-50341","title":"Security::login does not take into account custom user_checker in symfony/security-bundle","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","status":"published","published":"2024-11-06T21:06:49.426Z","modified":"2026-10-28T02:31:04.044856556Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:44:44.032344Z"},{"id":"DEBIAN-CVE-2024-50341","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","status":"published","published":"2024-11-06T21:15:05.747Z","modified":"2026-11-02T12:02:55.827799199Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T15:45:44.117337Z"},{"id":"GHSA-jxgr-3v7q-3w9v","title":"Symfony's `Security::login` does not take into account custom `user_checker`","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.","status":"published","published":"2024-11-06T15:13:42Z","modified":"2024-11-07T00:09:49.602756Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low"},{"version":"4.0","score":2.3,"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","level":"low"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"UBUNTU-CVE-2024-50341","description":"symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to  unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.","status":"published","published":"2024-11-06T21:15:00Z","modified":"2026-02-04T02:32:37.825521Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T16:55:11.182485Z"},{"id":"USN-7272-1","title":"symfony vulnerabilities","description":"Soner Sayakci discovered that Symfony incorrectly handled cookie storage in\nthe web cache. An attacker could possibly use this issue to obtain\nsensitive information and access unauthorized resources. (CVE-2022-24894)\n\nMarco Squarcina discovered that Symfony incorrectly handled the storage of\nuser session information. An attacker could possibly use this issue to\nperform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)\n\nPierre Rudloff discovered that Symfony incorrectly checked HTML input. An\nattacker could possibly use this issue to perform cross site scripting.\n(CVE-2023-46734)\n\nVladimir Dusheyko discovered that Symfony incorrectly sanitized special\ninput with a PHP directive in URL query strings. An attacker could possibly\nuse this issue to expose sensitive information or cause a denial of\nservice. This issue only affected Ubuntu 24.04 LTS and Ubuntu 22.04 LTS.\n(CVE-2024-50340)\n\nOleg Andreyev, Antoine Makdessi, and Moritz Rauch discovered that Symfony\nincorrectly handled user authentication. An attacker could possibly use\nthis issue to access unauthorized resources and expose sensitive\ninformation. This issue was only addressed in Ubuntu 24.04 LTS.\n(CVE-2024-50341, CVE-2024-51996)\n\nLinus Karlsson and Chris Smith discovered that Symfony returned internal\nhost information during host resolution. An attacker could possibly use\nthis issue to obtain sensitive information. This issue only affected Ubuntu\n24.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-50342)\n\nIt was discovered that Symfony incorrectly parsed user input through\nregular expressions. An attacker could possibly use this issue to expose\nsensitive information. (CVE-2024-50343)\n\nSam Mush discovered that Symfony incorrectly parsed URIs with special\ncharacters. An attacker could possibly use this issue to perform phishing\nattacks. (CVE-2024-50345)\n","status":"published","published":"2025-02-18T16:01:48Z","modified":"2026-04-27T17:44:05.08617Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
