{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-5585","published":"2024-06-09T19:15:52.597000Z","last_modified":"2026-06-17T08:16:14.400000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-78","CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.1.0","version_end_excluding":"8.1.29"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.2.0","version_end_excluding":"8.2.20"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.3.0","version_end_excluding":"8.3.8"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"40"}],"cpes_truncated":false,"vendors":["php","fedoraproject"],"products":["php/php","fedoraproject/fedora"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.02631,"percentile":0.86286,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2024-5585/","html_en":"/en/cve/CVE-2024-5585/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-5585","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-5585"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue: when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.","affected":[{"untrusted_vendor":"PHP Group","untrusted_product":"PHP","versions":[]},{"untrusted_vendor":"php","untrusted_product":"php","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/06/07/1","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/php/php-src/security/advisories/GHSA-9fcc-425m-g385","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240726-0002/","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585","tags":[]}]}}