{"answers":{"affected":"2 open source packages ship an affected version, including org.wildfly.core:wildfly-server. It affects 3 products.","exploited":"There is no known exploitation of CVE-2018-10862 in the wild and no public exploit code.","fix":"Upgrade org.wildfly.core:wildfly-server to 6.0.0.Alpha3 or later.","what":"CVE-2018-10862 is a medium-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-10862 and fix it if it is affected.\n\nWhat it is: CVE-2018-10862 is a medium-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-10862 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.wildfly.core:wildfly-server (Maven): affected all versions; fixed in 6.0.0.Alpha3\n- org.wildfly.core:wildfly-server (Maven): affected all versions; fixed in 6.0.0.Alpha3\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-2018-10862/ (Markdown: https://insights.sbomify.com/CVE-2018-10862/index.md)","id":"CVE-2018-10862","markdown":"https://insights.sbomify.com/CVE-2018-10862/index.md","name":"CVE-2018-10862","record":{"aliases":["GHSA-w8r2-5j8x-x8j6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WildFly Core","requires_auth":"low_privilege","summary":"Attackers can overwrite arbitrary files via crafted .war archives in WildFly Core, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"},{"product":"wildfly_core","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"WildFly Core before version 6.0.0.Alpha3 does not properly validate file paths in .war archives, allowing for the extraction of crafted .war archives to overwrite arbitrary files. This is an instance of the 'Zip Slip' vulnerability.","ecosystems":["Maven"],"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":"Improper Limitation of a Pathname to a Restricted Directory in WildFly","id":"CVE-2018-10862","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform","redhat:virtualization"],"type":"path_traversal","year":"2018"},"n_packages":2,"n_references":11,"next":{"headline":"Information disclosure in redhat-certification","id":"CVE-2018-10863"},"packages":[{"ecosystem":"Maven","fixed":["6.0.0.Alpha3"],"introduced":["0"],"last_affected":[],"package":"org.wildfly.core:wildfly-server","purl":null,"source":"GHSA-w8r2-5j8x-x8j6"},{"ecosystem":"Maven","fixed":["6.0.0.Alpha3"],"introduced":["0"],"last_affected":[],"package":"org.wildfly.core:wildfly-server","purl":"pkg:maven/org.wildfly.core/wildfly-server","source":"GHSA-w8r2-5j8x-x8j6"}],"prev":{"headline":"Missing authorization in ceph","id":"CVE-2018-10861"},"products":["n/a"],"published":"2018-07-27","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss Application Server Remote Code Execution","id":"CVE-2017-12149","kev_date_added":"2021-12-10","published":"2017-10-04"},{"cvss_score":5.9,"headline":"Red Hat JBoss Information Disclosure","id":"CVE-2010-1428","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":3.7,"headline":"Red Hat JBoss Authentication Bypass","id":"CVE-2010-0738","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-3690","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Deserialization in JBoss","id":"CVE-2017-7504","kev_date_added":null,"published":"2017-05-19"},{"cvss_score":9.8,"headline":"XML external entity in JBoss Enterprise Application Platform","id":"CVE-2017-7503","kev_date_added":null,"published":"2017-05-18"},{"cvss_score":9.8,"headline":"Improper Input Validation in JGroups","id":"CVE-2016-2141","kev_date_added":null,"published":"2016-06-30"}],"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":"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-05","vendors":["n/a"]},"summary":"Attackers can overwrite arbitrary files via crafted .war archives in WildFly Core, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2018-10862/"}