You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, 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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
OR
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.3.0 up to (excluding) 8.3.5
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.28
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.18
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Added
Reference Type
CVE: http://www.openwall.com/lists/oss-security/2024/04/12/11 Types: Mailing List
Added
Reference Type
CVE: http://www.openwall.com/lists/oss-security/2024/06/07/1 Types: Mailing List
CVE: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/ Types: Mailing List
Added
Reference Type
CVE: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/ Types: Mailing List
Added
Reference Type
CVE: https://security.netapp.com/advisory/ntap-20240510-0009/ Types: Third Party Advisory
Added
Reference Type
CVE: https://www.vicarius.io/vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585 Types: Exploit, Third Party Advisory
Added
Reference Type
PHP Group: http://www.openwall.com/lists/oss-security/2024/04/12/11 Types: Mailing List
Added
Reference Type
PHP Group: http://www.openwall.com/lists/oss-security/2024/06/07/1 Types: Mailing List
PHP Group: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/ Types: Mailing List
Added
Reference Type
PHP Group: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/ Types: Mailing List
Added
Reference Type
PHP Group: https://security.netapp.com/advisory/ntap-20240510-0009/ Types: Third Party Advisory
CVE Modified by PHP Group2/13/2025 1:16:33 PM
Action
Type
Old Value
New Value
Changed
Description
In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, 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.
In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, 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.
PHP Group https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/ [No types assigned]
CVE Modified by PHP Group6/11/2024 10:15:09 PM
Action
Type
Old Value
New Value
Added
Reference
PHP Group https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/ [No types assigned]
CVE Modified by PHP Group6/10/2024 1:16:17 PM
Action
Type
Old Value
New Value
Added
Reference
PHP Group http://www.openwall.com/lists/oss-security/2024/06/07/1 [No types assigned]
Added
Reference
PHP Group https://security.netapp.com/advisory/ntap-20240510-0009/ [No types assigned]
CVE Modified by PHP Group5/14/2024 10:49:32 AM
Action
Type
Old Value
New Value
CVE Modified by PHP Group5/01/2024 1:15:28 PM
Action
Type
Old Value
New Value
Added
Reference
PHP Group http://www.openwall.com/lists/oss-security/2024/04/12/11 [No types assigned]
New CVE Received from PHP Group4/29/2024 12:15:07 AM
Action
Type
Old Value
New Value
Added
Description
In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, 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.
Added
CVSS V3.1
PHP Group AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Added
CWE
PHP Group CWE-116
Added
Reference
PHP Group https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7 [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-1874 NVD
Published Date: 04/29/2024 NVD
Last Modified: 06/18/2025
Source: PHP Group