{"answers":{"affected":"6 open source packages ship an affected version, including symfony/security-http.","exploited":"There is no known exploitation of CVE-2024-51996 in the wild and no public exploit code.","fix":"Upgrade symfony/security-http to a fixed version for your release line: 5.4.47, 6.4.15 or 7.1.8.","what":"CVE-2024-51996 is a high-severity authentication bypass vulnerability in symfony, published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-51996 and fix it if it is affected.\n\nWhat it is: CVE-2024-51996 is a high-severity authentication bypass vulnerability in symfony, published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-51996 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- symfony/security-http (Packagist): affected from 5.3.0; fixed in 5.4.47\n- symfony/security-http (Packagist): affected from 5.3.0; fixed in 5.4.47\n- symfony/security-http (Packagist): affected from 6.0.0-BETA1; fixed in 6.4.15\n- symfony/security-http (Packagist): affected from 6.0.0-BETA1; fixed in 6.4.15\n- symfony/security-http (Packagist): affected from 7.0.0-BETA1; fixed in 7.1.8\n- symfony/security-http (Packagist): affected from 7.0.0-BETA1; fixed in 7.1.8\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-51996/ (Markdown: https://insights.sbomify.com/CVE-2024-51996/index.md)","id":"CVE-2024-51996","markdown":"https://insights.sbomify.com/CVE-2024-51996/index.md","name":"CVE-2024-51996","record":{"aliases":["DEBIAN-CVE-2024-51996","DSA-5813-1","GHSA-cg23-qf8f-62rr","UBUNTU-CVE-2024-51996"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Symfony PHP framework","requires_auth":"none","summary":"Attackers can bypass authentication by exploiting a flaw in Symfony's remember-me cookie validation, allowing unauthorized access to user accounts.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-289","name":"Authentication Bypass by Alternate Name"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. When consuming a persisted remember-me cookie, Symfony does not check if the username persisted in the database matches the username attached with the cookie, leading to authentication bypass. This vulnerability is fixed in 5.4.47, 6.4.15, and 7.1.8.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2025-04-14","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-14T21:02:11Z","kind":"github_poc","ref":"https://github.com/moften/CVE-2024-51996","stars":1,"title":"CVE-2024-51996 es una vulnerabilidad crítica que afecta al componente security-http del framework Symfony."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Symphony has an Authentication Bypass via RememberMe","id":"CVE-2024-51996","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":6,"n_references":2,"next":{"headline":"The Attestation Results Token can be arbitrarily modified without being detected in Trustee","id":"CVE-2024-51997"},"packages":[{"ecosystem":"Packagist","fixed":["5.4.47"],"introduced":["5.3.0"],"last_affected":[],"package":"symfony/security-http","purl":null,"source":"GHSA-cg23-qf8f-62rr"},{"ecosystem":"Packagist","fixed":["5.4.47"],"introduced":["5.3.0"],"last_affected":[],"package":"symfony/security-http","purl":"pkg:composer/symfony/security-http","source":"GHSA-cg23-qf8f-62rr"},{"ecosystem":"Packagist","fixed":["6.4.15"],"introduced":["6.0.0-BETA1"],"last_affected":[],"package":"symfony/security-http","purl":null,"source":"GHSA-cg23-qf8f-62rr"},{"ecosystem":"Packagist","fixed":["6.4.15"],"introduced":["6.0.0-BETA1"],"last_affected":[],"package":"symfony/security-http","purl":"pkg:composer/symfony/security-http","source":"GHSA-cg23-qf8f-62rr"},{"ecosystem":"Packagist","fixed":["7.1.8"],"introduced":["7.0.0-BETA1"],"last_affected":[],"package":"symfony/security-http","purl":null,"source":"GHSA-cg23-qf8f-62rr"},{"ecosystem":"Packagist","fixed":["7.1.8"],"introduced":["7.0.0-BETA1"],"last_affected":[],"package":"symfony/security-http","purl":"pkg:composer/symfony/security-http","source":"GHSA-cg23-qf8f-62rr"}],"prev":{"headline":"Logic bug in ajax.render.php allows for bypass of 'backOffice' access control in Combodo iTop","id":"CVE-2024-51995"},"products":["symfony"],"published":"2024-11-13","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-13","vendors":["symfony"]},"summary":"Attackers can bypass authentication by exploiting a flaw in Symfony's remember-me cookie validation, allowing unauthorized access to user accounts.","url":"https://insights.sbomify.com/CVE-2024-51996/"}