CVE-2024-1874

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-1874
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1874.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-1874
Aliases
Downstream
Related
Published
2024-04-29T04:15:07Z
Modified
2025-10-14T15:32:59Z
Severity
  • 9.4 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events