{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2006-5870 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2006-5870 is a critical vulnerability in n/a, published on 4 Jan 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2006-5870 and fix it if it is affected.\n\nWhat it is: CVE-2006-5870 is a critical vulnerability in n/a, published on 4 Jan 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2006-5870 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2006-5870/ (Markdown: https://insights.sbomify.com/CVE-2006-5870/index.md)","id":"CVE-2006-5870","markdown":"https://insights.sbomify.com/CVE-2006-5870/index.md","name":"CVE-2006-5870","record":{"aliases":["DSA-1246-1","GHSA-564p-qwx9-wr9r","RHSA-2007:0001"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Office suite","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into opening malicious WMF or EMF files in OpenOffice.org or StarOffice.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openoffice","vendor":"openoffice"},{"product":"staroffice","vendor":"sun"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-189","name":null}],"description":"Multiple integer overflows in OpenOffice.org (OOo) 2.0.4 and earlier, and possibly other versions before 2.1.0; and StarOffice 6 through 8; allow user-assisted remote attackers to execute arbitrary code via a crafted (a) WMF or (b) EMF file that triggers heap-based buffer overflows in (1) wmf/winwmf.cxx, during processing of META_ESCAPE records; and wmf/enhwmf.cxx, during processing of (2) EMR_POLYPOLYGON and (3) EMR_POLYPOLYGON16 records.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"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":"Integer overflow in n/a","id":"CVE-2006-5870","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2006"},"n_packages":36,"n_references":39,"next":{"headline":"Misconfiguration in n/a","id":"CVE-2006-5871"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.1.2-35.2.0.EL3"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-kde","purl":"pkg:rpm/redhat/openoffice.org-kde","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-kde","purl":"pkg:rpm/redhat/openoffice.org-kde","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-kde","purl":"pkg:rpm/redhat/openoffice.org-kde","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-i18n","purl":"pkg:rpm/redhat/openoffice.org-i18n","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-kde","purl":"pkg:rpm/redhat/openoffice.org-kde","source":"RHSA-2007:0001"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.1.5-6.6.0.EL4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-libs","purl":"pkg:rpm/redhat/openoffice.org-libs","source":"RHSA-2007:0001"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2006-5869"},"products":["n/a"],"published":"2007-01-04","related":[{"cvss_score":9.3,"headline":"Code injection in n/a","id":"CVE-2007-4575","kev_date_added":null,"published":"2007-12-06"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2007-0245","kev_date_added":null,"published":"2007-06-12"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2007-0238","kev_date_added":null,"published":"2007-03-21"},{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2007-0239","kev_date_added":null,"published":"2007-03-21"},{"cvss_score":7.6,"headline":"Code injection in n/a","id":"CVE-2006-2198","kev_date_added":null,"published":"2006-06-30"},{"cvss_score":7.6,"headline":"Security feature bypass in n/a","id":"CVE-2006-2199","kev_date_added":null,"published":"2006-06-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by tricking users into opening malicious WMF or EMF files in OpenOffice.org or StarOffice.","url":"https://insights.sbomify.com/CVE-2006-5870/"}