Bug 1226975 (CVE-2024-5261) - VUL-0: CVE-2024-5261: libreoffice: TLS certificates are not properly verified when utilizing LibreOfficeKit
Summary: VUL-0: CVE-2024-5261: libreoffice: TLS certificates are not properly verified...
Status: IN_PROGRESS
Alias: CVE-2024-5261
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Martin Schreiner
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/412060/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-5261:8.1:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 18:52 UTC by SMASH SMASH
Modified: 2024-07-01 21:47 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-25 18:52:03 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-5261
https://www.cve.org/CVERecord?id=CVE-2024-5261
https://www.libreoffice.org/about-us/security/advisories/cve-2024-5261
Comment 2 Martin Schreiner 2024-06-27 20:41:30 UTC
I'm on it.