Name | CVE-2021-25634 |
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 modify a digitally signed ODF document to insert an additional signing time timestamp which LibreOffice would incorrectly present as a valid signature signed at the bogus signing time. This issue affects: The Document Foundation LibreOffice 7-0 versions prior to 7.0.6; 7-1 versions prior to 7.1.2. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4988-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libreoffice (PTS) | jessie, jessie (lts) | 1:4.3.3-2+deb8u15 | fixed |
| stretch (security) | 1:5.2.7-1+deb9u11 | fixed |
| stretch (lts), stretch | 1:6.1.5-3+deb9u5 | fixed |
| buster, buster (lts) | 1:6.1.5-3+deb10u14 | vulnerable |
| buster (security) | 1:6.1.5-3+deb10u12 | vulnerable |
| bullseye | 1:7.0.4-4+deb11u10 | fixed |
| bullseye (security) | 1:7.0.4-4+deb11u11 | fixed |
| bookworm (security), bookworm | 4:7.4.7-1+deb12u5 | fixed |
| sid, trixie | 4:24.8.3-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - libreoffice <ignored> (Risk doesn't warrant complex backport)
[stretch] - libreoffice <not-affected> (XAdES / xades:SigningTime support introduced in 5.3)
https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25634
https://www.openwall.com/lists/oss-security/2021/10/11/2
XAdES/xades:SigningTime support introduced in 5.3, but pre-requisite for CVE-2021-25633/25634 also introduces it
Pre-requisites (replacement for XSecParser):
https://github.com/LibreOffice/core/commit/ad5930e87e788780a255523f106deb1dde5d7b37 (7-0)
https://github.com/LibreOffice/core/commit/d92235df75829a8cf2ee8cc7b0b76063093b6cc2 (7-1)
Fixed by: https://github.com/LibreOffice/core/commit/abe77c4fcb9ea97d9fff07eaea6d8863bcba5b02 (7-0)
Fixed by: https://github.com/LibreOffice/core/commit/94ce59dd02fcfcaa1eb4f195b45a9a2edbd58242 (7-0)
Fixed by: https://github.com/LibreOffice/core/commit/89befefb98487a27bff1003084e1200320828b3f (7-1)
Fixed by: https://github.com/LibreOffice/core/commit/b776cf1281660cf495e12824872576bb8e99d569 (7-1)
[stretch] - libreoffice <ignored> (Risk doesn't warrant complex backport)
[jessie] - libreoffice <not-affected> (XAdES / xades:SigningTime support introduced in 5.3)