Alpine: php81: security update to 8.1.30-r0

high Tenable Self-Hosted Container Security Plugin ID 408542

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, erroneous parsing of
multipart form data contained in an HTTP POST request could lead to legitimate data not being processed.
This could lead to malicious attacker able to control part of the submitted data being able to exclude
portion of other data, potentially leading to erroneous application behavior. (CVE-2024-8925)

- In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using a certain non-
standard configurations of Windows codepages, the fixes for CVE-2024-4577
https://github.com/advisories/GHSA-vxpp-6299-mxw3 may still be bypassed and the same command injection
related to Windows "Best Fit" codepage behavior can be achieved. This 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. (CVE-2024-8926)

- 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. (CVE-2024-8927)

- In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and
it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute
the final log or remove up to 4 characters from the log messages by manipulating log message content.
Additionally, if PHP-FPM is configured to use syslog output, it may be possible to further remove log data
using the same vulnerability. (CVE-2024-9026)

See Also

https://security.alpinelinux.org/vuln/CVE-2024-8925

https://security.alpinelinux.org/vuln/CVE-2024-8926

https://security.alpinelinux.org/vuln/CVE-2024-8927

https://security.alpinelinux.org/vuln/CVE-2024-9026

Plugin Details

Severity: High

ID: 408542

Version: Revision 1.8

Type: Local

Published: 11/1/2024

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.66

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2024-8926

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 9/25/2024

Reference Information

CVE: CVE-2024-8925, CVE-2024-8926, CVE-2024-8927, CVE-2024-9026

IAVA: 2024-A-0609-S