CVE-2024-8927
CVSS v3
7.5
HIGH
EPSS Score
1.1 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for php.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- phpBitnamiall versions · fixed in 8.1.30and 2 other packages
- apcu-panelAlmaLinux:8all versions · fixed in 5.1.18-1.module_el8.6.0+2750+78feabcband 1 other package
- libzipAlmaLinux:8all versions · fixed in 1.6.1-1.module_el8.10.0+3935+28808425and 1 other package
- libzip-develAlmaLinux:8all versions · fixed in 1.6.1-1.module_el8.6.0+3239+bedf0508
- phpAlmaLinux:9all versions · fixed in 8.1.30-1.module_el9.5.0+131+62ecd687and 24 other packages
- phpAlmaLinux:8all versions · fixed in 7.4.33-2.module_el8.10.0+3935+28808425and 26 other packages
- php-pearAlmaLinux:8all versions · fixed in 1:1.10.13-1.module_el8.10.0+3935+28808425
- php-pecl-apcuAlmaLinux:9all versions · fixed in 5.1.21-1.module_el9.1.0+15+94ba28e4and 2 other packages
8 more package ranges on OSV.dev
Vendor advisories
php: cgi.force_redirect configuration is bypassable due to the environment variable collision
php as a component of Red Hat Enterprise Linux 7 · php-bcmath as a component of Red Hat Enterprise Linux 7 · php-cli as a component of Red Hat Enterprise Linux 7
Red Hat Security Advisory: php security update
Red Hat Security Advisory: php:8.1 security update
Red Hat Security Advisory: php:7.4 security update
Red Hat Security Advisory: php:8.2 security update
Red Hat Security Advisory: php:8.2 security update
Description
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.
Technical details
- Published
- 2024-10-08
Frequently asked questions
What is CVE-2024-8927?
Is CVE-2024-8927 actively exploited?
What is the CVSS score for CVE-2024-8927?
Running php? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.