Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

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.


Published

2024-06-09T19:15:52.597

Last Modified

2024-11-21T09:47:58.357

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.7 (HIGH)

Weaknesses
  • Type: Secondary
    CWE-78
    CWE-116
  • Type: Primary
    CWE-116

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application php php < 8.1.29 Yes
Application php php < 8.2.20 Yes
Application php php < 8.3.8 Yes
Operating System fedoraproject fedora 40 Yes

References