{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40359 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-40359 is a critical vulnerability in n/a, published on 14 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40359 and fix it if it is affected.\n\nWhat it is: CVE-2023-40359 is a critical vulnerability in n/a, published on 14 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-40359 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-2023-40359/ (Markdown: https://insights.sbomify.com/CVE-2023-40359/index.md)","id":"CVE-2023-40359","markdown":"https://insights.sbomify.com/CVE-2023-40359/index.md","name":"CVE-2023-40359","record":{"aliases":["AZL-27957","DEBIAN-CVE-2023-40359","GHSA-cwvr-vg72-6p6j","SUSE-SU-2023:4438-1","UBUNTU-CVE-2023-40359","openSUSE-SU-2024:13240-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"xterm terminal emulator","requires_auth":"none","summary":"An integer overflow in xterm's ReGIS reporting allows code execution when the experimental feature is enabled at compile time.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"xterm","vendor":"invisible-island"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"xterm before 380 supports ReGIS reporting for character-set names even if they have unexpected characters (i.e., neither alphanumeric nor underscore), aka a pointer/overflow issue. This can only occur for xterm installations that are configured at compile time to use a certain experimental feature.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4","openSUSE:Leap 15.5","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":"Integer overflow in n/a","id":"CVE-2023-40359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2023"},"n_packages":7,"n_references":1,"next":{"headline":"Null dereference in n/a","id":"CVE-2023-40360"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["330-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:4438-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["330-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:4438-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["330-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:4438-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["330-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:4438-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["330-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/opensuse/xterm\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4438-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["330-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/opensuse/xterm\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4438-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["384-2.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/opensuse/xterm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13240-1"}],"prev":{"headline":"Command injection in Archer A10","id":"CVE-2023-40357"},"products":["n/a"],"published":"2023-08-14","related":[{"cvss_score":9.3,"headline":"Misconfiguration in n/a","id":"CVE-2006-7236","kev_date_added":null,"published":"2009-01-02"},{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2008-2383","kev_date_added":null,"published":"2009-01-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-09","vendors":["n/a"]},"summary":"An integer overflow in xterm's ReGIS reporting allows code execution when the experimental feature is enabled at compile time.","url":"https://insights.sbomify.com/CVE-2023-40359/"}