Vulnerability · Published May 18, 2020 · Assigned by Document Fdn.
CVE-2020-12801Crash-recovered MSOffice encrypted documents defaulted to not to using encryption on next save
Medium 5.3
In plain English
A medium-severity security flaw in LibreOffice from The Document Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libreoffice | 6.4.3.2-r0 | ALPINE-CVE-2020-12801 |
| Alpine:v3.21 | libreoffice | 6.4.3.2-r0 | ALPINE-CVE-2020-12801 |
| Alpine:v3.22 | libreoffice | 6.4.3.2-r0 | ALPINE-CVE-2020-12801 |
| Alpine:v3.23 | libreoffice | 6.4.3.2-r0 | ALPINE-CVE-2020-12801 |
| Alpine:v3.24 | libreoffice | 6.4.3.2-r0 | ALPINE-CVE-2020-12801 |
| Debian:12 | libreoffice | 1:6.4.3-1 | DEBIAN-CVE-2020-12801 |
| Debian:13 | libreoffice | 1:6.4.3-1 | DEBIAN-CVE-2020-12801 |
| Debian:14 | libreoffice | 1:6.4.3-1 | DEBIAN-CVE-2020-12801 |
| Ubuntu:22.04:LTS | libreoffice | 1:7.3.6-0ubuntu0.22.04.2 | USN-5694-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| The Document Foundation | LibreOffice | 6-3 series – before 6.3.66-4 series – before 6.4.3 |
Weakness: CWE-311