7.6
CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2007-2438

First published: Wed May 02 2007(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Foresight Linux=1.1
Vim by Vim Development Group=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-2438?

    CVE-2007-2438 is considered a moderate severity vulnerability due to its potential for user-assisted exploitation.

  • How do I fix CVE-2007-2438?

    To fix CVE-2007-2438, you should update Vim to a version that patches the vulnerability, ideally a version higher than 7.0.

  • Who is affected by CVE-2007-2438?

    CVE-2007-2438 affects Vim version 7.0 and may impact systems using Vim in a user-assisted scenario.

  • What type of attacks are possible with CVE-2007-2438?

    CVE-2007-2438 allows user-assisted attackers to execute arbitrary shell commands and write files via malicious modelines.

  • Is there a workaround for CVE-2007-2438?

    Disabling modelines in Vim can serve as a temporary workaround for CVE-2007-2438 until an update is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203