{"answers":{"affected":"12 open source packages ship an affected version, including symfony/process and symfony/symfony. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-51736 in the wild and no public exploit code.","fix":"Upgrade symfony/process to a fixed version for your release line: 5.4.46, 6.4.14 or 7.1.7.","what":"CVE-2024-51736 is a command injection vulnerability in Sensiolabs Symfony, published on 6 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-51736 and fix it if it is affected.\n\nWhat it is: CVE-2024-51736 is a command injection vulnerability in Sensiolabs Symfony, published on 6 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-51736 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- symfony/process (Packagist): affected all versions; fixed in 5.4.46\n- symfony/process (Packagist): affected all versions; fixed in 5.4.46\n- symfony/process (Packagist): affected from 6.0.0; fixed in 6.4.14\n- symfony/process (Packagist): affected from 6.0.0; fixed in 6.4.14\n- symfony/process (Packagist): affected from 7.0.0; fixed in 7.1.7\n- symfony/process (Packagist): affected from 7.0.0; fixed in 7.1.7\n- symfony/symfony (Packagist): affected all versions; fixed in 5.4.46\n- symfony/symfony (Packagist): affected all versions; fixed in 5.4.46\n- symfony/symfony (Packagist): affected from 6.0.0; fixed in 6.4.14\n- symfony/symfony (Packagist): affected from 6.0.0; fixed in 6.4.14\n- symfony/symfony (Packagist): affected from 7.0.0; fixed in 7.1.7\n- symfony/symfony (Packagist): affected from 7.0.0; fixed in 7.1.7\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-51736/ (Markdown: https://insights.sbomify.com/CVE-2024-51736/index.md)","id":"CVE-2024-51736","markdown":"https://insights.sbomify.com/CVE-2024-51736/index.md","name":"CVE-2024-51736","record":{"aliases":["CLSA-2025-1761785573","CLSA-2025-1761785574","GHSA-qq5c-677p-737q"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PHP process library","requires_auth":"none","summary":"Attackers can hijack command execution on Windows by placing a malicious cmd.exe in the working directory, affecting applications using the Symfony Process component.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"symfony","vendor":"sensiolabs"}],"cvss":{"score":0,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. This issue has been addressed in release versions 5.4.46, 6.4.14, and 7.1.7. 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":"Command execution hijack on Windows with Process class in symfony/process","id":"CVE-2024-51736","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"sensiolabs:symfony","products":["sensiolabs:symfony"],"type":"command_injection","year":"2024"},"n_packages":12,"n_references":2,"next":{"headline":"RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE","id":"CVE-2024-51737"},"packages":[{"ecosystem":"Packagist","fixed":["5.4.46"],"introduced":["0"],"last_affected":[],"package":"symfony/process","purl":null,"source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["5.4.46"],"introduced":["0"],"last_affected":[],"package":"symfony/process","purl":"pkg:composer/symfony/process","source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["6.4.14"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/process","purl":null,"source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["6.4.14"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/process","purl":"pkg:composer/symfony/process","source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["7.1.7"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/process","purl":null,"source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["7.1.7"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/process","purl":"pkg:composer/symfony/process","source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["5.4.46"],"introduced":["0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["5.4.46"],"introduced":["0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["6.4.14"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["6.4.14"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["7.1.7"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qq5c-677p-737q"},{"ecosystem":"Packagist","fixed":["7.1.7"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qq5c-677p-737q"}],"prev":{"headline":"Stored Cross-site Scripting to RCE on Osmedeus Web Server","id":"CVE-2024-51735"},"products":["symfony"],"published":"2024-11-06","related":[{"cvss_score":9.8,"headline":"Improper Input Validation in Symfony","id":"CVE-2019-11325","kev_date_added":null,"published":"2019-11-21"},{"cvss_score":9.8,"headline":"Symfony Incorrect Access Control","id":"CVE-2017-11365","kev_date_added":null,"published":"2019-05-23"},{"cvss_score":9.8,"headline":"Invalid HTTP method overrides allow possible XSS or other attacks in Symfony","id":"CVE-2019-10913","kev_date_added":null,"published":"2019-05-16"},{"cvss_score":9.8,"headline":"Symfony Authentication Bypass","id":"CVE-2018-11407","kev_date_added":null,"published":"2018-06-13"},{"cvss_score":9.8,"headline":"Symfony Authentication Bypass","id":"CVE-2016-2403","kev_date_added":null,"published":"2017-02-07"},{"cvss_score":9.1,"headline":"Symfony: Identity Spoofing via Unanchored DN Regex in X509Authenticator","id":"CVE-2026-45063","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.8,"headline":"Symfony: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims","id":"CVE-2026-45069","kev_date_added":null,"published":"2026-07-14"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"total"},"state":"PUBLISHED","updated":"2024-11-21","vendors":["symfony"]},"summary":"Attackers can hijack command execution on Windows by placing a malicious cmd.exe in the working directory, affecting applications using the Symfony Process component.","url":"https://insights.sbomify.com/CVE-2024-51736/"}