CVE-2020-12801
Crash-recovered MSOffice encrypted documents defaulted to not to using encryption on next save
Check your servers for CVE-2020-12801
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-12801 affects libreoffice, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.
Exploitation
EPSS 1.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 71.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jan 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-311 Missing Encryption of Sensitive Data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| LibreOffice |
affected from 6-3 series, before 6.3.6 affected from 6-4 series, before 6.4.3
|
Is my server affected?
Find the installed version of libreoffice and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i libreoffice
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-12801 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-12801RHEL, Rocky, Alma, Fedora
rpm -q libreoffice
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-12801Alpine
apk list --installed | grep -i libreofficeWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-12801
trivy image --scanners vuln IMAGE | grep CVE-2020-12801
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- openSUSE-SU-2020:0786 lists.opensuse.org · vendor advisory
Other references
- https://www.libreoffice.org/about-us/security/advisories/CVE-2020-12801 libreoffice.org
- [debian-lts-announce] 20231231 [SECURITY] [DLA 3703-1] libreoffice security update lists.debian.org · mailing list
Source: the record CVE-2020-12801 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse