Alpine: php7: security update to 7.4.29-r2 (deprecated)

high Tenable Self-Hosted Container Security Plugin ID 408652

Description

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

- In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres
database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to
free memory using uninitialized data as pointers. This could lead to RCE vulnerability or denial of
service. (CVE-2022-31625)

- In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension
with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the
connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote
code execution vulnerability. (CVE-2022-31626)

See Also

https://git.alpinelinux.org/aports/commit/?id=d02363fe99a174e8cfd6db4ea4a9f7e2f2875218

https://git.alpinelinux.org/aports/commit/?id=e6dc3d159ade196f3dfb0c3ccdb4c07c9013dbf4

Plugin Details

Severity: High

ID: 408652

Version: Revision 1.28

Type: Local

Published: 6/7/2022

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.99

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-31625

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

CVSS Score Source: CVE-2022-31626

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/6/2022

Vulnerability Publication Date: 6/16/2022

Reference Information

CVE: CVE-2022-31625, CVE-2022-31626