{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-5261 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-5261 is a critical vulnerability in Libreoffice Libreoffice, published on 25 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-5261 and fix it if it is affected.\n\nWhat it is: CVE-2024-5261 is a critical vulnerability in Libreoffice Libreoffice, published on 25 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-5261 in the wild and no public exploit code.\n\nAffected product: Libreoffice Libreoffice. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-5261/ (Markdown: https://insights.sbomify.com/CVE-2024-5261/index.md)","id":"CVE-2024-5261","markdown":"https://insights.sbomify.com/CVE-2024-5261/index.md","name":"CVE-2024-5261","record":{"aliases":["BELL-CVE-2024-5261","DEBIAN-CVE-2024-5261","GHSA-rvcj-9xfm-m9hr","MGASA-2024-0268","SUSE-SU-2024:3576-1","SUSE-SU-2024:3577-1","UBUNTU-CVE-2024-5261","USN-6877-1","openSUSE-SU-2024:14186-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"LibreOffice office suite","requires_auth":"none","summary":"Attackers can bypass TLS certificate validation in LibreOfficeKit mode, enabling man-in-the-middle attacks against remote resource fetches.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Document Fdn.","cpe":[{"product":"libreoffice","vendor":"libreoffice"}],"cvss":{"score":10,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"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.","ecosystems":["SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","SUSE:Linux Enterprise Workstation Extension 15 SP5","SUSE:Linux Enterprise Workstation Extension 15 SP6","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"TLS certificate are not properly verified when utilizing LibreOfficeKit","id":"CVE-2024-5261","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libreoffice:libreoffice","products":["libreoffice:libreoffice"],"type":"security_feature_bypass","year":"2024"},"n_packages":9,"n_references":1,"next":{"headline":"ProjectDiscovery Interactsh - Files or Directories Accessible to External Parties","id":"CVE-2024-5262"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["24.8.1.2-150500.20.11.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/suse/libreoffice\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:3577-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["24.8.1.2-150500.20.11.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/suse/libreoffice\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2024:3577-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["24.8.1.2-48.64.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/suse/libreoffice\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:3576-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","fixed":["24.8.1.2-48.64.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/suse/libreoffice\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP5","source":"SUSE-SU-2024:3576-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP5","fixed":["24.8.1.2-150500.20.11.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/suse/libreoffice\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP5","source":"SUSE-SU-2024:3577-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP6","fixed":["24.8.1.2-150500.20.11.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/suse/libreoffice\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP6","source":"SUSE-SU-2024:3577-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["24.8.1.2-150500.20.11.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/opensuse/libreoffice\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:3577-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["24.8.1.2-150500.20.11.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/opensuse/libreoffice\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:3577-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["24.2.5.2-1.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/opensuse/libreoffice\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14186-1"}],"prev":{"headline":"Cross-site scripting in Sina Extension for Elementor","id":"CVE-2024-5260"},"products":["LibreOffice"],"published":"2024-06-25","related":[{"cvss_score":9.8,"headline":"Windows 8.3 path equivalence handling flaw allows LibreLogo script execution","id":"CVE-2019-9855","kev_date_added":null,"published":"2019-09-06"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-14939","kev_date_added":null,"published":"2018-08-05"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-8358","kev_date_added":null,"published":"2017-04-30"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7882","kev_date_added":null,"published":"2017-04-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-10327","kev_date_added":null,"published":"2017-04-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7856","kev_date_added":null,"published":"2017-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["The Document Foundation"]},"summary":"Attackers can bypass TLS certificate validation in LibreOfficeKit mode, enabling man-in-the-middle attacks against remote resource fetches.","url":"https://insights.sbomify.com/CVE-2024-5261/"}