CVE-2024-5585Php
High 8.8
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- Yes
- Published
- Jun 9, 2024
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Php.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 8.1.0 < 8.1.29 |
| php | php | ≥ 8.2.0 < 8.2.20 |
| php | php | ≥ 8.3.0 < 8.3.8 |
| fedoraproject | fedora | 40 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org
- security.netapp.com
- www.vicarius.io