Alpine: openssl3: security update to 0

critical Tenable Self-Hosted Container Security Plugin ID 406153

Description

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

- The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This
script is distributed by some operating systems in a manner where it is automatically executed. On such
operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of
the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool.
Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n).
Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd). (CVE-2022-1292)

- In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances
where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection
were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other
places in the script where the file names of certificates being hashed were possibly passed to a command
executed through the shell. This script is distributed by some operating systems in a manner where it is
automatically executed. On such operating systems, an attacker could execute arbitrary commands with the
privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the
OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3). Fixed in
OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o). Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze). (CVE-2022-2068)

- Issue summary: The POLY1305 MAC (message authentication code) implementation contains a bug that might
corrupt the internal state of applications on the Windows 64 platform when running on newer X86_64
processors supporting the AVX512-IFMA instructions. Impact summary: If in an application that uses the
OpenSSL library an attacker can influence whether the POLY1305 MAC algorithm is used, the application
state might be corrupted with various application dependent consequences. The POLY1305 MAC (message
authentication code) implementation in OpenSSL does not save the contents of non-volatile XMM registers on
Windows 64 platform when calculating the MAC of data larger than 64 bytes. Before returning to the caller
all the XMM registers are set to zero rather than restoring their previous content. The vulnerable code is
used only on newer x86_64 processors supporting the AVX512-IFMA instructions. The consequences of this
kind of internal application state corruption can be various - from no consequences, if the calling
application does not depend on the contents of non-volatile XMM registers at all, to the worst
consequences, where the attacker could get complete control of the application process. However given the
contents of the registers are just zeroized so the attacker cannot put arbitrary values inside, the most
likely consequence, if any, would be an incorrect result of some application dependent calculations or a
crash leading to a denial of service. The POLY1305 MAC algorithm is most frequently used as part of the
CHACHA20-POLY1305 AEAD (authenticated encryption with associated data) algorithm. The most common usage of
this AEAD cipher is with TLS protocol versions 1.2 and 1.3 and a malicious client can influence whether
this AEAD cipher is used by the server. This implies that server applications using OpenSSL can be
potentially impacted. However we are currently not aware of any concrete application that would be
affected by this issue therefore we consider this a Low severity security issue. As a workaround the
AVX512-IFMA instructions support can be disabled at runtime by setting the environment variable
OPENSSL_ia32cap: OPENSSL_ia32cap=:~0x200000 The FIPS provider is not affected by this issue.
(CVE-2023-4807)

See Also

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

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

https://security.alpinelinux.org/vuln/CVE-2023-4807

Plugin Details

Severity: Critical

ID: 406153

Version: Revision 1.30

Type: Local

Published: 10/31/2023

Updated: 12/22/2025

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

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.48

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-2068

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/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-2023-4807

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2023-4807

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 5/3/2022

Reference Information

CVE: CVE-2022-1292, CVE-2022-2068, CVE-2023-4807

IAVA: 2022-A-0186-S, 2022-A-0257, 2023-A-0462-S