{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1999023 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-1999023 is a high-severity code injection vulnerability in n/a, published on 23 Jul 2018. 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-2018-1999023 and fix it if it is affected.\n\nWhat it is: CVE-2018-1999023 is a high-severity code injection vulnerability in n/a, published on 23 Jul 2018. 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-2018-1999023 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-2018-1999023/ (Markdown: https://insights.sbomify.com/CVE-2018-1999023/index.md)","id":"CVE-2018-1999023","markdown":"https://insights.sbomify.com/CVE-2018-1999023/index.md","name":"CVE-2018-1999023","record":{"aliases":["AZL-38656","CVE-2018-1000213","DEBIAN-CVE-2018-1999023","GHSA-rv2w-5cww-2mqm","MGASA-2018-0325","UBUNTU-CVE-2018-1999023","openSUSE-SU-2024:11509-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Wesnoth game engine","requires_auth":"none","summary":"Attackers can execute arbitrary code outside the sandbox by tricking users into loading malicious saved games, replays, or networked content in Wesnoth.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"the_battle_for_wesnoth","vendor":"wesnoth"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"The Battle for Wesnoth Project version 1.7.0 through 1.14.3 contains a Code Injection vulnerability in the Lua scripting engine that can result in code execution outside the sandbox. This attack appear to be exploitable via Loading specially-crafted saved games, networked games, replays, and player content.","ecosystems":["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":"Code injection in n/a","id":"CVE-2018-1999023","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":1,"n_references":1,"next":{"headline":"Macro in MathJax running untrusted Javascript within a web browser","id":"CVE-2018-1999024"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.15.17-1.3"],"introduced":["0"],"last_affected":[],"package":"wesnoth","purl":"pkg:rpm/opensuse/wesnoth\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11509-1"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2018-1999022"},"products":["n/a"],"published":"2018-07-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code outside the sandbox by tricking users into loading malicious saved games, replays, or networked content in Wesnoth.","url":"https://insights.sbomify.com/CVE-2018-1999023/"}