{"answers":{"affected":"12 open source packages ship an affected version, including symfony/security-bundle and symfony/symfony.","exploited":"There is no known exploitation of CVE-2024-50341 in the wild and no public exploit code.","fix":"Upgrade symfony/security-bundle to a fixed version for your release line: 6.4.10, 7.0.10 or 7.1.3.","what":"CVE-2024-50341 is a low-severity authentication bypass vulnerability in symfony, published on 6 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-50341 and fix it if it is affected.\n\nWhat it is: CVE-2024-50341 is a low-severity authentication bypass vulnerability in symfony, published on 6 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-50341 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- symfony/security-bundle (Packagist): affected from 6.2.0; fixed in 6.4.10\n- symfony/security-bundle (Packagist): affected from 6.2.0; fixed in 6.4.10\n- symfony/security-bundle (Packagist): affected from 7.0.0; fixed in 7.0.10\n- symfony/security-bundle (Packagist): affected from 7.0.0; fixed in 7.0.10\n- symfony/security-bundle (Packagist): affected from 7.1.0; fixed in 7.1.3\n- symfony/security-bundle (Packagist): affected from 7.1.0; fixed in 7.1.3\n- symfony/symfony (Packagist): affected from 6.2.0; fixed in 6.4.10\n- symfony/symfony (Packagist): affected from 6.2.0; fixed in 6.4.10\n- symfony/symfony (Packagist): affected from 7.0.0; fixed in 7.0.10\n- symfony/symfony (Packagist): affected from 7.0.0; fixed in 7.0.10\n- symfony/symfony (Packagist): affected from 7.1.0; fixed in 7.1.3\n- symfony/symfony (Packagist): affected from 7.1.0; fixed in 7.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-50341/ (Markdown: https://insights.sbomify.com/CVE-2024-50341/index.md)","id":"CVE-2024-50341","markdown":"https://insights.sbomify.com/CVE-2024-50341/index.md","name":"CVE-2024-50341","record":{"aliases":["DEBIAN-CVE-2024-50341","GHSA-jxgr-3v7q-3w9v","UBUNTU-CVE-2024-50341"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Symfony security bundle","requires_auth":"low_privilege","summary":"Attackers can bypass custom user checks during programmatic login in Symfony, potentially gaining unauthorized access if custom checkers are configured.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Security::login does not take into account custom user_checker in symfony/security-bundle","id":"CVE-2024-50341","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":12,"n_references":2,"next":{"headline":"Internal address and port enumeration allowed by NoPrivateNetworkHttpClient in symfony/http-client","id":"CVE-2024-50342"},"packages":[{"ecosystem":"Packagist","fixed":["6.4.10"],"introduced":["6.2.0"],"last_affected":[],"package":"symfony/security-bundle","purl":null,"source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["6.4.10"],"introduced":["6.2.0"],"last_affected":[],"package":"symfony/security-bundle","purl":"pkg:composer/symfony/security-bundle","source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.0.10"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/security-bundle","purl":null,"source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.0.10"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/security-bundle","purl":"pkg:composer/symfony/security-bundle","source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.1.3"],"introduced":["7.1.0"],"last_affected":[],"package":"symfony/security-bundle","purl":null,"source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.1.3"],"introduced":["7.1.0"],"last_affected":[],"package":"symfony/security-bundle","purl":"pkg:composer/symfony/security-bundle","source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["6.4.10"],"introduced":["6.2.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["6.4.10"],"introduced":["6.2.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.0.10"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.0.10"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.1.3"],"introduced":["7.1.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-jxgr-3v7q-3w9v"},{"ecosystem":"Packagist","fixed":["7.1.3"],"introduced":["7.1.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-jxgr-3v7q-3w9v"}],"prev":{"headline":"Ability to change environment from query in symfony/runtime","id":"CVE-2024-50340"},"products":["symfony"],"published":"2024-11-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-07","vendors":["symfony"]},"summary":"Attackers can bypass custom user checks during programmatic login in Symfony, potentially gaining unauthorized access if custom checkers are configured.","url":"https://insights.sbomify.com/CVE-2024-50341/"}