CVE-2024-5585

HIGH

CVSS v3

8.8

HIGH

EPSS Score

0.9%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

Description

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.

Technical Details

Published
6/9/2024

Frequently Asked Questions

What is CVE-2024-5585?

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.

Is CVE-2024-5585 actively exploited?

Active exploitation of CVE-2024-5585 has not been confirmed. The EPSS score is 0.9%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-5585?

CVE-2024-5585 has a CVSS v3 base score of 8.8 (HIGH severity).

Is CVE-2024-5585 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.