CVE-2024-5261 Affecting libreoffice package, versions <4:24.2.4-0ubuntu0.24.04.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-LIBREOFFICE-7413809
  • published2 Jul 2024
  • disclosed25 Jun 2024

Introduced: 25 Jun 2024

CVE-2024-5261  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 libreoffice to version 4:24.2.4-0ubuntu0.24.04.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libreoffice package and not the libreoffice package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1