Alpine: php81: security update to 8.1.12-r0

critical Tenable Self-Hosted Container Security Plugin ID 406378

Description

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

- In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension,
it is possible to supply a specially crafted font file, such as if the loaded font is used with
imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or
disclosure of confidential information. (CVE-2022-31630)

- The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer
overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties.
This occurs in the sponge function interface. (CVE-2022-37454)

See Also

https://security.alpinelinux.org/vuln/CVE-2022-31630

https://security.alpinelinux.org/vuln/CVE-2022-37454

Plugin Details

Severity: Critical

ID: 406378

Version: Revision 1.33

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.54

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2022-37454

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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: 10/20/2022

Reference Information

CVE: CVE-2022-31630, CVE-2022-37454

IAVA: 2022-A-0455-S, 2022-A-0515-S