CWE
20
Advisory Published
CVE Published
Updated

CVE-2008-2712: Input Validation

First published: Sun Jun 15 2008(Updated: )

Common Vulnerabilities and Exposures assigned an identifier <a href="https://access.redhat.com/security/cve/CVE-2008-2712">CVE-2008-2712</a> to the following vulnerability: 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, (2) zipplugin, (3) xpm.vim, (4) gzip_vim, and (5) netrw. References: <a href="http://www.rdancer.org/vulnerablevim.html">http://www.rdancer.org/vulnerablevim.html</a> <a href="http://www.securityfocus.com/archive/1/archive/1/493352/100/0/threaded">http://www.securityfocus.com/archive/1/archive/1/493352/100/0/threaded</a> <a href="http://www.securityfocus.com/archive/1/archive/1/493353/100/0/threaded">http://www.securityfocus.com/archive/1/archive/1/493353/100/0/threaded</a> <a href="http://marc.info/?l=bugtraq&amp;m=121345541027231&amp;w=4">http://marc.info/?l=bugtraq&amp;m=121345541027231&amp;w=4</a> <a href="http://www.openwall.com/lists/oss-security/2008/06/16/2">http://www.openwall.com/lists/oss-security/2008/06/16/2</a> <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486502">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486502</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/vim<1:6.3.046-1.el4_7.5
1:6.3.046-1.el4_7.5
redhat/vim<2:7.0.109-4.el5_2.4
2:7.0.109-4.el5_2.4
Vim<=6.4
Vim>=7.0<=7.1.314
Ubuntu Linux=6.06
Ubuntu Linux=7.10
Ubuntu Linux=8.04
Ubuntu Linux=8.10
Ubuntu=6.06
Ubuntu=7.10
Ubuntu=8.04
Ubuntu=8.10

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2008-2712?

    CVE-2008-2712 is classified as a medium severity vulnerability due to its requirement for user assistance to exploit.

  • How do I fix CVE-2008-2712?

    To fix CVE-2008-2712, update Vim to a version higher than 7.1.314 or apply patches provided by your operating system vendor.

  • What software is affected by CVE-2008-2712?

    CVE-2008-2712 affects multiple versions of Vim, including 6.4, and up to 7.1.314.

  • What type of attacks can exploit CVE-2008-2712?

    CVE-2008-2712 can be exploited by user-assisted remote attackers to execute arbitrary commands through Vim scripts.

  • Is CVE-2008-2712 still a concern today?

    While CVE-2008-2712 was identified in 2008, it is crucial to ensure all systems are updated to mitigate any potential residual risks.

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