ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-8927

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions before 5.5.9+dfsg-1ubuntu4.29+esm16 (fixed in 5.5.9+dfsg-1ubuntu4.29+esm16)
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm12 (fixed in 7.0.33-0ubuntu0.16.04.16+esm12)
Ubuntu:Pro:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.17+esm6 (fixed in 7.2.24-0ubuntu0.18.04.17+esm6)
Ubuntu:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.24 (fixed in 7.4.3-4ubuntu2.24)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.19 (fixed in 8.1.2-1ubuntu2.19)
Ubuntu:24.04:LTSphp8.3
All versions before 8.3.6-0ubuntu0.24.04.2 (fixed in 8.3.6-0ubuntu0.24.04.2)

References