← All CVEs

CVE-2024-1874

critical · 9.4

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.

9.4
CVSS
32.6%
EPSS (exploit prob.)
98th
EPSS percentile
2024-04-29
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Weaknesses

CWE-116

Affected products

VendorProductAffected versions
phpphp>= 8.1.0, < 8.1.28
phpphp>= 8.2.0, < 8.2.18
phpphp>= 8.3.0, < 8.3.5
fedoraprojectfedora39
fedoraprojectfedora40

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2024-1874