{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-35331 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-35331 is a high-severity code injection vulnerability in n/a, published on 5 Jul 2021. 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-2021-35331 and fix it if it is affected.\n\nWhat it is: CVE-2021-35331 is a high-severity code injection vulnerability in n/a, published on 5 Jul 2021. 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-2021-35331 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-2021-35331/ (Markdown: https://insights.sbomify.com/CVE-2021-35331/index.md)","id":"CVE-2021-35331","markdown":"https://insights.sbomify.com/CVE-2021-35331/index.md","name":"CVE-2021-35331","record":{"aliases":["DEBIAN-CVE-2021-35331","ECHO-cd9d-2394-e10e","GHSA-539q-24vg-qfm4","OESA-2022-1720","ROOT-OS-DEBIAN-12-CVE-2021-35331","SUSE-FU-2022:0484-1","SUSE-FU-2022:0868-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Tcl scripting library","requires_auth":"none","summary":"A format string vulnerability in Tcl's nmakehlp.c allows code execution via a crafted file, though its significance is disputed.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tcl","vendor":"tcl"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String"}],"description":"In Tcl 8.6.11, a format string vulnerability in nmakehlp.c might allow code execution via a crafted file. NOTE: multiple third parties dispute the significance of this finding","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5"],"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-2021-35331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":9,"n_references":4,"next":{"headline":"Missing authorization in n/a","id":"CVE-2021-35336"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["8.6.12-150300.14.3.1"],"introduced":["0"],"last_affected":[],"package":"tcl","purl":"pkg:rpm/suse/tcl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-FU-2022:0868-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["8.6.12-150300.10.3.1"],"introduced":["0"],"last_affected":[],"package":"tk","purl":"pkg:rpm/suse/tk\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-FU-2022:0868-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","fixed":["8.6.12-150300.10.3.1"],"introduced":["0"],"last_affected":[],"package":"tk","purl":"pkg:rpm/suse/tk\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP3","source":"SUSE-FU-2022:0868-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["8.6.12-11.3.1"],"introduced":["0"],"last_affected":[],"package":"tcl","purl":"pkg:rpm/suse/tcl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-FU-2022:0484-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["8.6.12-11.3.1"],"introduced":["0"],"last_affected":[],"package":"tk","purl":"pkg:rpm/suse/tk\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-FU-2022:0484-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["8.6.12-11.3.1"],"introduced":["0"],"last_affected":[],"package":"tcl","purl":"pkg:rpm/suse/tcl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-FU-2022:0484-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["8.6.12-11.3.1"],"introduced":["0"],"last_affected":[],"package":"tk","purl":"pkg:rpm/suse/tk\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-FU-2022:0484-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["8.6.12-11.3.1"],"introduced":["0"],"last_affected":[],"package":"tcl","purl":"pkg:rpm/suse/tcl\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-FU-2022:0484-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["8.6.12-11.3.1"],"introduced":["0"],"last_affected":[],"package":"tk","purl":"pkg:rpm/suse/tk\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-FU-2022:0484-1"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2021-35327"},"products":["n/a"],"published":"2021-07-05","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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"A format string vulnerability in Tcl's nmakehlp.c allows code execution via a crafted file, though its significance is disputed.","url":"https://insights.sbomify.com/CVE-2021-35331/"}