{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2017-3157 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-3157 is a medium-severity vulnerability in Apache Openoffice, published on 20 Nov 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2017-3157 and fix it if it is affected.\n\nWhat it is: CVE-2017-3157 is a medium-severity vulnerability in Apache Openoffice, published on 20 Nov 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2017-3157 in the wild and no public exploit code.\n\nAffected product: Apache Openoffice. 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-2017-3157/ (Markdown: https://insights.sbomify.com/CVE-2017-3157/index.md)","id":"CVE-2017-3157","markdown":"https://insights.sbomify.com/CVE-2017-3157/index.md","name":"CVE-2017-3157","record":{"aliases":["DEBIAN-CVE-2017-3157","DSA-3792-1","GHSA-c683-7wh2-j8m4","RHSA-2017:0914","RHSA-2017:0979","UBUNTU-CVE-2017-3157","USN-3210-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Office suite","requires_auth":"none","summary":"An attacker can read arbitrary files from a user's filesystem by crafting a malicious document in Apache OpenOffice, requiring user interaction to save and return the file.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"openoffice","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_eus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"By exploiting the way Apache OpenOffice before 4.1.4 renders embedded objects, an attacker could craft a document that allows reading in a file from the user's filesystem. Information could be retrieved by the attacker by, e.g., using hidden sections to store the information, tricking the user into saving the document and convincing the user to send the document back to the attacker. The vulnerability is mitigated by the need for the attacker to know the precise file path in the target system, and the need to trick the user into saving the document and sending it back.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation"],"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":"Information disclosure in Apache OpenOffice","id":"CVE-2017-3157","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:openoffice","products":["apache:openoffice","debian:debian_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_eus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation"],"type":"information_disclosure","year":"2017"},"n_packages":771,"n_references":6,"next":{"headline":"Apache Guacamole Race Condition vulnerability","id":"CVE-2017-3158"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-af","purl":"pkg:rpm/redhat/autocorr-af","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-bg","purl":"pkg:rpm/redhat/autocorr-bg","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-ca","purl":"pkg:rpm/redhat/autocorr-ca","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-cs","purl":"pkg:rpm/redhat/autocorr-cs","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-da","purl":"pkg:rpm/redhat/autocorr-da","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-de","purl":"pkg:rpm/redhat/autocorr-de","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-en","purl":"pkg:rpm/redhat/autocorr-en","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-es","purl":"pkg:rpm/redhat/autocorr-es","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-fa","purl":"pkg:rpm/redhat/autocorr-fa","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-fi","purl":"pkg:rpm/redhat/autocorr-fi","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-fr","purl":"pkg:rpm/redhat/autocorr-fr","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-ga","purl":"pkg:rpm/redhat/autocorr-ga","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-hr","purl":"pkg:rpm/redhat/autocorr-hr","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-hu","purl":"pkg:rpm/redhat/autocorr-hu","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-is","purl":"pkg:rpm/redhat/autocorr-is","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-it","purl":"pkg:rpm/redhat/autocorr-it","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-ja","purl":"pkg:rpm/redhat/autocorr-ja","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-ko","purl":"pkg:rpm/redhat/autocorr-ko","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-lb","purl":"pkg:rpm/redhat/autocorr-lb","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-lt","purl":"pkg:rpm/redhat/autocorr-lt","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-mn","purl":"pkg:rpm/redhat/autocorr-mn","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-nl","purl":"pkg:rpm/redhat/autocorr-nl","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-pl","purl":"pkg:rpm/redhat/autocorr-pl","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-pt","purl":"pkg:rpm/redhat/autocorr-pt","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-ro","purl":"pkg:rpm/redhat/autocorr-ro","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-ru","purl":"pkg:rpm/redhat/autocorr-ru","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-sk","purl":"pkg:rpm/redhat/autocorr-sk","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-sl","purl":"pkg:rpm/redhat/autocorr-sl","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-sr","purl":"pkg:rpm/redhat/autocorr-sr","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-sv","purl":"pkg:rpm/redhat/autocorr-sv","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-tr","purl":"pkg:rpm/redhat/autocorr-tr","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-vi","purl":"pkg:rpm/redhat/autocorr-vi","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"autocorr-zh","purl":"pkg:rpm/redhat/autocorr-zh","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/redhat/libreoffice","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice-base","purl":"pkg:rpm/redhat/libreoffice-base","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice-bsh","purl":"pkg:rpm/redhat/libreoffice-bsh","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice-calc","purl":"pkg:rpm/redhat/libreoffice-calc","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice-core","purl":"pkg:rpm/redhat/libreoffice-core","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice-debuginfo","purl":"pkg:rpm/redhat/libreoffice-debuginfo","source":"RHSA-2017:0979"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"libreoffice-draw","purl":"pkg:rpm/redhat/libreoffice-draw","source":"RHSA-2017:0979"}],"prev":{"headline":"Covert Timing Channel in Apache CXF","id":"CVE-2017-3156"},"products":["Apache OpenOffice"],"published":"2017-11-20","related":[{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2014-3524","kev_date_added":null,"published":"2014-08-26"},{"cvss_score":9.3,"headline":"Path traversal in n/a","id":"CVE-2010-3450","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Use after free in n/a","id":"CVE-2010-3451","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Use after free in n/a","id":"CVE-2010-3452","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-3453","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-3454","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-4253","kev_date_added":null,"published":"2011-01-28"}],"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-09-16","vendors":["Apache Software Foundation"]},"summary":"An attacker can read arbitrary files from a user's filesystem by crafting a malicious document in Apache OpenOffice, requiring user interaction to save and return the file.","url":"https://insights.sbomify.com/CVE-2017-3157/"}