{"id":"CVE-2024-5261","state":"PUBLISHED","title":"TLS certificate are not properly verified when utilizing LibreOfficeKit","description":"Improper Certificate Validation vulnerability in LibreOffice \"LibreOfficeKit\" mode disables TLS certification verification\n\nLibreOfficeKit can be used for accessing LibreOffice functionality \nthrough C/C++. Typically this is used by third party components to reuse\n LibreOffice as a library to convert, view or otherwise interact with \ndocuments.\n\nLibreOffice internally makes use of \"curl\" to fetch remote resources such as images hosted on webservers.\n\nIn\n affected versions of LibreOffice, when used in LibreOfficeKit mode \nonly, then curl's TLS certification verification was disabled \n(CURLOPT_SSL_VERIFYPEER of false)\n\nIn the fixed versions curl operates in LibreOfficeKit mode the same as in standard mode with CURLOPT_SSL_VERIFYPEER of true.\n\nThis issue affects LibreOffice before version 24.2.4.","publishedAt":"2024-06-25T12:44:24.251Z","updatedAt":"2024-08-01T21:11:11.609Z","severity":{"score":10,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"Document Fdn."},"assigner":"Document Fdn.","products":["The Document Foundation LibreOffice"],"affected":[{"vendor":"The Document Foundation","product":"LibreOffice","defaultStatus":"unaffected","versions":[{"version":"24.2","status":"affected","lessThan":"24.2.4","versionType":"24.2 series"}]}],"references":["https://www.libreoffice.org/about-us/security/advisories/cve-2024-5261"],"weaknesses":["CWE-295"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/5xxx/CVE-2024-5261.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5261","state":"PUBLISHED","datePublished":"2024-06-25T12:44:24.251Z","dateUpdated":"2024-08-01T21:11:11.609Z","assignerShortName":"Document Fdn.","assignerOrgId":"4fe7d05b-1353-44cc-8b7a-1e416936dff2","dateReserved":"2024-05-23T07:20:08.542Z"},"containers":{"cna":{"title":"TLS certificate are not properly verified when utilizing LibreOfficeKit","descriptions":[{"lang":"en","value":"Improper Certificate Validation vulnerability in LibreOffice \"LibreOfficeKit\" mode disables TLS certification verification\n\nLibreOfficeKit can be used for accessing LibreOffice functionality \nthrough C/C++. Typically this is used by third party components to reuse\n LibreOffice as a library to convert, view or otherwise interact with \ndocuments.\n\nLibreOffice internally makes use of \"curl\" to fetch remote resources such as images hosted on webservers.\n\nIn\n affected versions of LibreOffice, when used in LibreOfficeKit mode \nonly, then curl's TLS certification verification was disabled \n(CURLOPT_SSL_VERIFYPEER of false)\n\nIn the fixed versions curl operates in LibreOfficeKit mode the same as in standard mode with CURLOPT_SSL_VERIFYPEER of true.\n\nThis issue affects LibreOffice before version 24.2.4."}],"affected":[{"vendor":"The Document Foundation","product":"LibreOffice","defaultStatus":"unaffected","versions":[{"version":"24.2","status":"affected","lessThan":"24.2.4","versionType":"24.2 series"}]}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2024-5261"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":10,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","description":"CWE-295 Improper Certificate Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Document Fdn.","orgId":"4fe7d05b-1353-44cc-8b7a-1e416936dff2","dateUpdated":"2024-06-25T12:44:24.251Z"},"credits":[{"lang":"en","type":"finder","value":"OpenSource Security GmbH"}],"datePublic":"2024-06-25T13:00:00.000Z","impacts":[{"capecId":"CAPEC-94","descriptions":[{"lang":"en","value":"CAPEC-94 Adversary in the Middle (AiTM)"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"libreoffice","product":"libreoffice","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"24.2.4","versionType":"custom"}],"cpes":["cpe:2.3:a:libreoffice:libreoffice:24.2.4:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-25T13:27:12.094894Z","id":"CVE-2024-5261","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-25T13:29:25.699Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2024-5261","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:11:11.609Z"}}]}}}