CVE-2024-8927 Affecting php-8.1 package, versions <8.1.30-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.05% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-PHP81-15407659
  • published5 Mar 2026
  • disclosed8 Oct 2024

Introduced: 8 Oct 2024

CVE-2024-8927  (opens in a new tab)

How to fix?

Upgrade Wolfi php-8.1 to version 8.1.30-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-8.1 package and not the php-8.1 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1