{"id":"CVE-2008-6235","aliases":["DEBIAN-CVE-2008-6235","EUVD-2008-6205","GHSA-f7gm-2q6r-xxwv","RHSA-2008:0580"],"status":"published","title":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute...","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02989,"percentile":0.87402,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2009-02-21T23:00:00Z","modified":"2026-10-23T17:47:46Z","fixes":[{"ecosystem":"Debian:12","package":"vim","fixed_in":["2:7.2.148-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"vim","fixed_in":["2:7.2.148-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"vim","fixed_in":["2:7.2.148-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.2.148-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.2.148-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.2.148-1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.0.109-4.el5_2.4z"}]}],"bundled":6}],"products":[{"vendor":"vim","product":"vim"}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.rdancer.org/vulnerablevim-netrw.v5.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2008/10/20/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.rdancer.org/vulnerablevim-netrw.html","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2008/10/16/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0580.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://secunia.com/advisories/34418","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11247","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.rdancer.org/vulnerablevim-netrw.v2.html","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-6235","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f7gm-2q6r-xxwv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-6235","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2008:0580","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=248542","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=451759","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=461927","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=467428","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=467432","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=467439","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0580.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-2953","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2953","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2953","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-2712","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-2712","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2712","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3074","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3074","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3074","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3075","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3075","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3075","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-4101","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4101","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4101","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-6235","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-6235","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-6235","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","status":"published","published":"2009-02-21T23:00:00Z","modified":"2024-08-07T11:20:25.54Z","updated_at":"2026-11-02T14:34:46.587139Z"}],"euvd":[{"id":"EUVD-2008-6205","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","status":"published","published":"2009-02-21T23:00:00Z","modified":"2024-08-07T11:20:25Z","updated_at":"2026-11-03T01:38:37.322423Z"}],"ghsa":[{"id":"GHSA-f7gm-2q6r-xxwv","title":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute...","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","status":"published","published":"2022-05-17T00:40:48Z","modified":"2023-02-03T05:02:20Z","cwes":["CWE-78"],"updated_at":"2026-11-02T14:53:08.758434Z"}],"nvd":[{"id":"CVE-2008-6235","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","status":"published","published":"2009-02-21T23:30:00.233Z","modified":"2026-06-16T23:01:51.96Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:01:31.111729Z"}],"osv":[{"id":"CVE-2008-6235","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","status":"published","published":"2009-02-21T23:30:00Z","modified":"2026-04-10T03:40:30.561597Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-6235","description":"The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) \"D\" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.","status":"published","published":"2009-02-21T23:30:00.233Z","modified":"2026-10-23T17:47:46.961378302Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"RHSA-2008:0580","title":"Red Hat Security Advisory: vim security update","status":"published","published":"2024-09-15T17:26:41Z","modified":"2026-06-26T10:09:32Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
