Skip to content
OpenAdvisories
Unscored CVE-2021-25636 EUVD-2021-12532GHSA-3cgr-wxhv-h7xw

Incorrect trust validation of signature with ambiguous KeyInfo children

Published Feb 22, 2022 · Updated Aug 3, 2024 · Assigned by Document Fdn.

Description

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.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 7.2 – < 7.2.5 7.2.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 1:7.3.0-1 —
Debian 13 libreoffice 1:7.3.0-1 —
Debian 12 libreoffice 1:7.3.0-1 —
Debian 10 libreoffice 1:6.1.5-3+deb10u8 DLA-3368-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libreoffice 1:6.4.7-0ubuntu0.20.04.4 USN-5330-1
Ubuntu 18.04 LTS libreoffice 1:6.0.7-0ubuntu0.18.04.11 USN-5330-1
ReleasePackageFixed inAdvisory
RHEL 8 autocorr-af +171 1:6.4.7.2-11.el8 RHSA-2022:7461

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 autocorr-af +170 1:6.4.7.2-11.el8.alma ALSA-2022:7461

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libreoffice 1:6.4.7.2-11.el8 RLSA-2022:7461
ReleasePackageFixed inAdvisory
SLES 15 SP3 libreoffice 7.2.5.1-150300.14.22.18.3 SUSE-SU-2022:0886-1
SLES 12 SP5 libreoffice 7.2.5.1-48.19.4 SUSE-SU-2022:1093-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 libreoffice 7.2.5.1-150300.14.22.18.3 openSUSE-SU-2022:0886-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libreoffice 7.2.5.2-r0 —
Alpine v3.23 libreoffice 7.2.5.2-r0 —
Alpine v3.22 libreoffice 7.2.5.2-r0 —
Alpine v3.21 libreoffice 7.2.5.2-r0 —
Alpine v3.20 libreoffice 7.2.5.2-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libreoffice 7.2.5.2-r0 —
Alpine v3.18 libreoffice 7.2.5.2-r0 —
Alpine v3.17 libreoffice 7.2.5.2-r0 —
Alpine v3.16 libreoffice 7.2.5.2-r0 —
Alpine v3.15 libreoffice 7.2.7.2-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 autocorr-af +170 1:6.4.7.2-11.0.1.el8 ELSA-2022-7461

Advisories 10

References