CVE-2024-5261TLS certificate are not properly verified when utilizing LibreOfficeKit
Improper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used for accessing LibreOffice functionality through C/C++. Typically this is used by third party components to reuse LibreOffice as a library to convert, view or otherwise interact with documents. LibreOffice internally makes use of "curl" to fetch remote resources such as images hosted on webservers. In affected versions of LibreOffice, when used in LibreOfficeKit mode only, then curl's TLS certification verification was disabled (CURLOPT_SSL_VERIFYPEER of false) In the fixed versions curl operates in LibreOfficeKit mode the same as in standard mode with CURLOPT_SSL_VERIFYPEER of true. This issue affects LibreOffice before version 24.2.4.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | libreoffice | Fixed | 4:24.2.4-0ubuntu0.24.04.2 | UBUNTU-CVE-2024-5261 |
| Ubuntu 22.04 | libreoffice | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libreoffice | Not affected vulnerable_code_not_present | ||
| Debian 14 | libreoffice | Fixed | 4:24.2.4-1 | DEBIAN-CVE-2024-5261 |
| Debian 13 | libreoffice | Fixed | 4:24.2.4-1 | DEBIAN-CVE-2024-5261 |
What the vendor says
As published in the CVE record by Document Fdn., the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Document Foundation LibreOffice: affected: 24.2 to before 24.2.4; fixed in
24.2.4
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.