CVE-2024-4577
Public on 2024-06-09
Modified on 2024-06-11
Description
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 1 | php | Not Affected | ||
Amazon Linux 2 - Core | php | Not Affected | ||
Amazon Linux 2 - Php8.1 Extra | php | Not Affected | ||
Amazon Linux 2 - Php8.2 Extra | php | Not Affected | ||
Amazon Linux 1 | php56 | Not Affected | ||
Amazon Linux 2023 | php8.1 | Not Affected | ||
Amazon Linux 2023 | php8.2 | Not Affected |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | CVSSv3 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |