CVE-2021-25633

NameCVE-2021-25633
DescriptionLibreOffice 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 combine multiple certificate data, which when opened caused LibreOffice to display a validly signed indicator but whose content was unrelated to the signature shown. This issue affects: The Document Foundation LibreOffice 7-0 versions prior to 7.0.6; 7-1 versions prior to 7.1.2.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4988-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libreoffice (PTS)jessie, jessie (lts)1:4.3.3-2+deb8u15vulnerable
stretch (security)1:5.2.7-1+deb9u11vulnerable
stretch (lts), stretch1:6.1.5-3+deb9u5vulnerable
buster, buster (lts)1:6.1.5-3+deb10u14vulnerable
buster (security)1:6.1.5-3+deb10u12vulnerable
bullseye1:7.0.4-4+deb11u10fixed
bullseye (security)1:7.0.4-4+deb11u11fixed
bookworm (security), bookworm4:7.4.7-1+deb12u5fixed
trixie4:24.8.3-3fixed
sid4:24.8.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libreofficesourcebullseye1:7.0.4-4+deb11u1DSA-4988-1
libreofficesource(unstable)1:7.2.0-2

Notes

[buster] - libreoffice <ignored> (Risk doesn't warrant complex backport)
[stretch] - libreoffice <ignored> (Risk doesn't warrant complex backport)
https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25633
https://www.openwall.com/lists/oss-security/2021/10/11/1
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/a1cf770c2d7ca3e153e0b1f01ddcc313bc2bed7f (7-0)
Fixed by: https://github.com/LibreOffice/core/commit/be773bc5960def8c51de0e0e41db837e001aa8fd (7-1)
[jessie] - libreoffice <ignored> (GUI/non-headless not supported)

Search for package or bug name: Reporting problems