{"answers":{"affected":"16 open source packages ship an affected version, including org.eclipse.platform:org.eclipse.ui.ide, org.eclipse.jdt:org.eclipse.jdt.ui and org.eclipse.platform:org.eclipse.core.runtime. It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-4218 exists.","fix":"Upgrade org.eclipse.platform:org.eclipse.ui.ide to 3.21.100 or later.","what":"CVE-2023-4218 is a medium-severity vulnerability in Eclipse IDE, published on 9 Nov 2023. 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-2023-4218 and fix it if it is affected.\n\nWhat it is: CVE-2023-4218 is a medium-severity vulnerability in Eclipse IDE, published on 9 Nov 2023. 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-4218 exists.\n\nAffected packages and fixed versions:\n- org.eclipse.platform:org.eclipse.ui.ide (Maven): affected all versions; fixed in 3.21.100\n- org.eclipse.platform:org.eclipse.ui.ide (Maven): affected all versions; fixed in 3.21.100\n- org.eclipse.jdt:org.eclipse.jdt.ui (Maven): affected all versions; fixed in 3.30.0\n- org.eclipse.jdt:org.eclipse.jdt.ui (Maven): affected all versions; fixed in 3.30.0\n- org.eclipse.platform:org.eclipse.core.runtime (Maven): affected all versions; fixed in 3.29.0\n- org.eclipse.platform:org.eclipse.core.runtime (Maven): affected all versions; fixed in 3.29.0\n- org.eclipse.platform:org.eclipse.jface (Maven): affected all versions; fixed in 3.31.0\n- org.eclipse.platform:org.eclipse.jface (Maven): affected all versions; fixed in 3.31.0\n- org.eclipse.platform:org.eclipse.platform (Maven): affected all versions; fixed in 4.29.0\n- org.eclipse.platform:org.eclipse.platform (Maven): affected all versions; fixed in 4.29.0\n- org.eclipse.platform:org.eclipse.ui.forms (Maven): affected all versions; fixed in 3.13.0\n- org.eclipse.platform:org.eclipse.ui.forms (Maven): affected all versions; fixed in 3.13.0\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-2023-4218/ (Markdown: https://insights.sbomify.com/CVE-2023-4218/index.md)","id":"CVE-2023-4218","markdown":"https://insights.sbomify.com/CVE-2023-4218/index.md","name":"CVE-2023-4218","record":{"aliases":["GHSA-j24h-xcpc-9jw8","SUSE-SU-2024:1304-1","UBUNTU-CVE-2023-4218","openSUSE-SU-2024:13786-1","openSUSE-SU-2024:13787-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Eclipse IDE","requires_auth":"low_privilege","summary":"Attackers can exploit XML External Entity vulnerabilities in Eclipse IDE by tricking users into opening malicious projects, leading to data exposure or code execution.","user_interaction":"required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"eclipse_ide","vendor":"eclipse"},{"product":"org.eclipse.core.runtime","vendor":"eclipse"},{"product":"pde","vendor":"eclipse"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"In Eclipse IDE versions \u003c 2023-09 (4.29) some files with xml content are parsed vulnerable against all sorts of XXE attacks. The user just needs to open any evil project or update an open project with a vulnerable file (for example for review a foreign repository or patch).","ecosystems":["Maven","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"XXE in eclipse.platform / Eclipse IDE","id":"CVE-2023-4218","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2023"},"n_packages":53,"n_references":11,"next":{"headline":"SourceCodester Doctors Appointment System login.php sql injection","id":"CVE-2023-4219"},"packages":[{"ecosystem":"Maven","fixed":["3.30.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jdt:org.eclipse.jdt.ui","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.30.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jdt:org.eclipse.jdt.ui","purl":"pkg:maven/org.eclipse.jdt/org.eclipse.jdt.ui","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.29.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.core.runtime","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.29.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.core.runtime","purl":"pkg:maven/org.eclipse.platform/org.eclipse.core.runtime","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.31.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.jface","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.31.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.jface","purl":"pkg:maven/org.eclipse.platform/org.eclipse.jface","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["4.29.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.platform","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["4.29.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.platform","purl":"pkg:maven/org.eclipse.platform/org.eclipse.platform","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.ui.forms","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.ui.forms","purl":"pkg:maven/org.eclipse.platform/org.eclipse.ui.forms","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.21.100"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.ui.ide","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.21.100"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.ui.ide","purl":"pkg:maven/org.eclipse.platform/org.eclipse.ui.ide","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.130.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.ui.workbench","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["3.130.0"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.ui.workbench","purl":"pkg:maven/org.eclipse.platform/org.eclipse.ui.workbench","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["1.3.100"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.urischeme","purl":null,"source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"Maven","fixed":["1.3.100"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.platform:org.eclipse.urischeme","purl":"pkg:maven/org.eclipse.platform/org.eclipse.urischeme","source":"GHSA-j24h-xcpc-9jw8"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["4.15-150200.4.16.4"],"introduced":["0"],"last_affected":[],"package":"eclipse","purl":"pkg:rpm/suse/eclipse\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["4.15-150200.4.16.5"],"introduced":["0"],"last_affected":[],"package":"eclipse-bootstrap","purl":"pkg:rpm/suse/eclipse-bootstrap\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["2.22.0-150200.4.9.3"],"introduced":["0"],"last_affected":[],"package":"eclipse-emf","purl":"pkg:rpm/suse/eclipse-emf\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["2.22.0-150200.4.9.3"],"introduced":["0"],"last_affected":[],"package":"eclipse-emf-bootstrap","purl":"pkg:rpm/suse/eclipse-emf-bootstrap\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire","purl":"pkg:rpm/suse/maven-surefire\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2024:1304-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.22.2-150200.3.9.9.1"],"introduced":["0"],"last_affected":[],"package":"maven-surefire-plugins","purl":"pkg:rpm/suse/maven-surefire-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2024:1304-1"}],"prev":{"headline":"Session cookies attribute not set properly","id":"CVE-2023-4217"},"products":["Eclipse IDE","org.eclipse.core.runtime","org.eclipse.pde"],"published":"2023-11-09","related":[{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2008-7271","kev_date_added":null,"published":"2011-01-13"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2010-4647","kev_date_added":null,"published":"2011-01-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["Eclipse Foundation"]},"summary":"Attackers can exploit XML External Entity vulnerabilities in Eclipse IDE by tricking users into opening malicious projects, leading to data exposure or code execution.","url":"https://insights.sbomify.com/CVE-2023-4218/"}