{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"low\"}"}}}], "affected": [{"vendor": "debian", "product": "vim", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-common", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-dbg", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-full", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-gnome", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-gtk", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-gui-common", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-lesstif", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-nox", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-perl", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-python", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-runtime", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-tcl", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "vim-tiny", "versions": [{"status": "affected", "version": "0", "lessThan": "1:7.1.314-3", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2008-2712"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2009-03-03T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 9.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "vim-X11", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "vim-common", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "vim-enhanced", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "vim-minimal", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2008-2712.html"}], "descriptions": [{"lang": "en", "value": "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.\nThe shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the ! (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.\nThe shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the ! (exclamation point) shell metacharacter in (1) the filename of a ZIP archive and possibly (2) the filename of the first file in a ZIP archive, which is not properly handled by zip.vim in the VIM ZIP plugin (zipPlugin.vim) v.11 through v.21, as demonstrated by the zipplugin and zipplugin.v2 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3074. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.\nVim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ; (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) Ctrl-] (control close-square-bracket) or (3) g] (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2008-11-25T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "vim-X11", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "vim-common", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "vim-enhanced", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "vim-minimal", "versions": [{"status": "affected", "version": "0", "lessThan": "2:7.0.109-4.el5_2.4z", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2008:0580"}, {"url": "https://access.redhat.com/security/cve/CVE-2008-2712"}], "descriptions": [{"lang": "en", "value": "Vim (Visual editor IMproved) is an updated and improved version of the vi\neditor.\n\nSeveral input sanitization flaws were found in Vim's keyword and tag\nhandling. If Vim looked up a document's maliciously crafted tag or keyword,\nit was possible to execute arbitrary code as the user running Vim.\n(CVE-2008-4101)\n\nMultiple security flaws were found in netrw.vim, the Vim plug-in providing\nfile reading and writing over the network. If a user opened a specially\ncrafted file or directory with the netrw plug-in, it could result in\narbitrary code execution as the user running Vim. (CVE-2008-3076)\n\nA security flaw was found in zip.vim, the Vim plug-in that handles ZIP\narchive browsing. If a user opened a ZIP archive using the zip.vim plug-in,\nit could result in arbitrary code execution as the user running Vim.\n(CVE-2008-3075)\n\nA security flaw was found in tar.vim, the Vim plug-in which handles TAR\narchive browsing. If a user opened a TAR archive using the tar.vim plug-in,\nit could result in arbitrary code execution as the user runnin Vim.\n(CVE-2008-3074)\n\nSeveral input sanitization flaws were found in various Vim system\nfunctions. If a user opened a specially crafted file, it was possible to\nexecute arbitrary code as the user running Vim. (CVE-2008-2712)\n\nUlf Härnhammar, of Secunia Research, discovered a format string flaw in\nVim's help tag processor. If a user was tricked into executing the\n\"helptags\" command on malicious data, arbitrary code could be executed with\nthe permissions of the user running Vim. (CVE-2007-2953)\n\nAll Vim users are advised to upgrade to these updated packages, which\ncontain backported patches to correct these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2008-06-15T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 9.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"cpes": ["cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*"], "vendor": "vim", "product": "vim", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "6.4"}, {"status": "affected", "version": "7.0", "versionType": "custom", "lessThanOrEqual": "7.1.314"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:8.10:*:*:*:*:*:*:*"], "vendor": "canonical", "product": "ubuntu_linux", "versions": [{"status": "affected", "version": "6.06"}, {"status": "affected", "version": "7.10"}, {"status": "affected", "version": "8.04"}, {"status": "affected", "version": "8.10"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.rdancer.org/vulnerablevim.html", "tags": ["broken-link"]}, {"url": "https://issues.rpath.com/browse/RPL-2622", "tags": ["broken-link"]}, {"url": "http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://marc.info/?l=bugtraq&m=121494431426308&w=2", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2008/06/16/2", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2008/10/15/1", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30731", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/32222", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/32858", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/32864", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/33410", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/34418", "tags": ["third-party-advisory"]}, {"url": "http://securityreason.com/securityalert/3951", "tags": ["third-party-advisory"]}, {"url": "http://support.apple.com/kb/HT3216", "tags": ["third-party-advisory"]}, {"url": "http://support.apple.com/kb/HT4077", "tags": ["third-party-advisory"]}, {"url": "http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm", "tags": ["third-party-advisory"]}, {"url": "http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm", "tags": ["third-party-advisory"]}, {"url": "http://wiki.rpath.com/Advisories:rPSA-2008-0247", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:236", "tags": ["third-party-advisory"]}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0580.html", "tags": ["third-party-advisory"]}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0617.html", "tags": ["third-party-advisory"]}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0618.html", "tags": ["third-party-advisory"]}, {"url": "http://www.ubuntu.com/usn/USN-712-1", "tags": ["third-party-advisory"]}, {"url": "http://www.vmware.com/security/advisories/VMSA-2009-0004.html", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2008/1851/references", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2008/2780", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2009/0033", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2009/0904", "tags": ["third-party-advisory"]}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11109", "tags": ["third-party-advisory"]}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6238", "tags": ["third-party-advisory"]}, {"url": "http://www.securityfocus.com/archive/1/493352/100/0/threaded", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/archive/1/493353/100/0/threaded", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/archive/1/495319/100/0/threaded", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/archive/1/502322/100/0/threaded", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/bid/29715", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/bid/31681", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securitytracker.com/id?1020293", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/43083", "tags": ["third-party-advisory", "vdb-entry"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Vim 7.1.314, 6.4 y otras versiones, permiten a atacantes remotos asistidos por el usuario ejecutar comandos de su elección a través de secuencias de comandos Vim que cuyos inputs no son limpiados correctamente previa a la ejecución o las funciones del sistema como se ha demostrado con (1) filetype.vim, (2) zipplugin, (3) xpm.vim, (4) gzip_vim y (5) netrw."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-20", "description": "CWE-20"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2008-06-16T21:41:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2008-2712", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2008-06-16T21:41:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}