8.8

CVE-2024-5585: Command injection via array-ish $command parameter of proc_open() (bypass CVE-2024-1874 fix)

Modified
AliasesCGA-jv4q-p359-w7v3CGA-mjpm-2qjw-28v3CGA-q9m5-f977-g33g
Published 09-06-2024Last modified 13-02-2025

Vulnerability summary

CVE-2024-5585 is a high (CVSS 8.8) vulnerability in fedoraproject fedora. EPSS estimates a 28.81% chance of exploitation in the next 30 days, higher than 98.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
28.81%
0%100%
High · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 3

Timeline

  1. 09-06-2024
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

28.81%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

No change 0.00 pp

From 28.81% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Php Src

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine3 products
  • php81< 8.1.29-r0
  • php82< 8.2.20-r0
  • php83< 8.3.8-r0
Chainguard2 products
  • php-8.1< 8.1.29-r0
  • php-8.2< 8.2.20-r0
Wolfi2 products
  • php-8.1< 8.1.29-r0
  • php-8.2< 8.2.20-r0
Fedoraproject1 product
Php1 product
  • php≥ 8.1.0, < 8.1.29 | ≥ 8.2.0, < 8.2.20 | ≥ 8.3.0, < 8.3.8
Php group1 product
  • php≥ 8.1.*, < 8.1.29 | ≥ 8.2.*, < 8.2.20 | ≥ 8.3.*, < 8.3.8

6 vendors · 10 products

References

10 links