{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2005-2368 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2005-2368 is a critical command injection vulnerability in n/a, published on 26 Jul 2005. 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-2005-2368 and fix it if it is affected.\n\nWhat it is: CVE-2005-2368 is a critical command injection vulnerability in n/a, published on 26 Jul 2005. 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-2005-2368 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-2005-2368/ (Markdown: https://insights.sbomify.com/CVE-2005-2368/index.md)","id":"CVE-2005-2368","markdown":"https://insights.sbomify.com/CVE-2005-2368/index.md","name":"CVE-2005-2368","record":{"aliases":["DEBIAN-CVE-2005-2368","DTSA-12-1","GHSA-w427-f3fp-6x6x","RHSA-2005:745"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Vim text editor","requires_auth":"none","summary":"Attackers can execute arbitrary commands via malicious fold expressions in Vim when modelines are enabled, requiring user interaction to open the file.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"vim","vendor":"vim_development_group"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"vim 6.3 before 6.3.082, with modelines enabled, allows external user-assisted attackers to execute arbitrary commands via shell metacharacters in the (1) glob or (2) expand commands of a foldexpr expression for calculating fold levels.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"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":"Command injection in n/a","id":"CVE-2005-2368","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2005"},"n_packages":48,"n_references":5,"next":{"headline":"Integer overflow in n/a","id":"CVE-2005-2369"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:6.3.046-0.30E.4"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2005:745"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:6.3.046-0.40E.7"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2005:745"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2005-2367"},"products":["n/a"],"published":"2005-07-26","related":[{"cvss_score":7.6,"headline":"Code injection in n/a","id":"CVE-2007-2438","kev_date_added":null,"published":"2007-05-02"},{"cvss_score":7.2,"headline":"Code injection in n/a","id":"CVE-2004-1138","kev_date_added":null,"published":"2004-12-22"},{"cvss_score":6.8,"headline":"Code injection in n/a","id":"CVE-2007-2953","kev_date_added":null,"published":"2007-07-31"},{"cvss_score":5.1,"headline":"Code injection in n/a","id":"CVE-2001-0408","kev_date_added":null,"published":"2001-09-18"},{"cvss_score":4.6,"headline":"Path traversal in n/a","id":"CVE-2005-0069","kev_date_added":null,"published":"2005-01-29"},{"cvss_score":4.6,"headline":"Code injection in n/a","id":"CVE-2002-1377","kev_date_added":null,"published":"2004-09-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-07","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via malicious fold expressions in Vim when modelines are enabled, requiring user interaction to open the file.","url":"https://insights.sbomify.com/CVE-2005-2368/"}