Alpine: multiple libreoffice packages: security update to 7.2.7.2-r0

high Tenable Self-Hosted Container Security Plugin ID 405262

Description

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

- LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual
aids that no alteration of the document occurred since the last signing and that the signature is valid.
An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally
signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the
document to contain both "X509Data" and "KeyValue" children of the "KeyInfo" tag, which when opened caused
LibreOffice to verify using the "KeyValue" but to report verification with the unrelated "X509Data" value.
This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.5. (CVE-2021-25636)

- LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint
server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected
versions of LibreOffice links using that scheme could be constructed to call internal macros with
arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary
script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions
prior to 7.4.1; 7.3 versions prior to 7.3.6. (CVE-2022-3140)

- An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was
signed by a trusted author was done by only matching the serial number and issuer string of the used
certificate with that of a trusted certificate. This is not sufficient to verify that the macro was
actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a
serial number and an issuer string identical to a trusted certificate which LibreOffice would present as
belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in
macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to
7.2.7; 7.3 versions prior to 7.3.1. (CVE-2022-26305)

- LibreOffice supports the storage of passwords for web connections in the user’s configuration database.
The stored passwords are encrypted with a single master key provided by the user. A flaw in LibreOffice
existed where the required initialization vector for encryption was always the same which weakens the
security of the encryption making them vulnerable if an attacker has access to the user's configuration
data. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions
prior to 7.3.1. (CVE-2022-26306)

- LibreOffice supports the storage of passwords for web connections in the user’s configuration database.
The stored passwords are encrypted with a single master key provided by the user. A flaw in LibreOffice
existed where master key was poorly encoded resulting in weakening its entropy from 128 to 43 bits making
the stored passwords vulerable to a brute force attack if an attacker has access to the users stored
config. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions
prior to 7.3.3. (CVE-2022-26307)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-25636

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

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

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

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

Plugin Details

Severity: High

ID: 405262

Version: Revision 1.37

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: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-25636

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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:U/RL:O/RC:C

CVSS Score Source: CVE-2022-26307

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 2/22/2022

Reference Information

CVE: CVE-2021-25636, CVE-2022-26305, CVE-2022-26306, CVE-2022-26307, CVE-2022-3140

IAVB: 2022-B-0024, 2022-B-0040-S