CVE-2024-8927 Affecting php81 package, versions <8.1.30-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.08% (37th 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 ID SNYK-ALPINE319-PHP81-8320293
  • published 1 Nov 2024
  • disclosed 8 Oct 2024

How to fix?

Upgrade Alpine:3.19 php81 to version 8.1.30-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php81 package and not the php81 package as distributed by Alpine. See How to fix? for Alpine:3.19 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 Scores

version 3.1
Expand this section

NVD

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

Red Hat

7.5 high
Expand this section

SUSE

6.5 medium