Action not permitted
Modal body text goes here.
Modal Title
Modal Body
cnvd-2019-17309
Vulnerability from cnvd
Title
Vim和Neovim任意代码执行漏洞
Description
Vim是一款基于UNIX平台的编辑器。Neovim是Vim的重构版。
Vim和Neovim getchar.c文件存在任意代码执行漏洞,允许远程攻击者可以利用漏洞提交特殊的文件请求,诱使用户解析,可以应用程序上下文执行任意OS命令。
Severity
高
VLAI Severity ?
Patch Name
Vim和Neovim任意代码执行漏洞的补丁
Patch Description
Vim是一款基于UNIX平台的编辑器。Neovim是Vim的重构版。
Vim和Neovim getchar.c文件存在任意代码执行漏洞,允许远程攻击者可以利用漏洞提交特殊的文件请求,诱使用户解析,可以应用程序上下文执行任意OS命令。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
用户可参考如下厂商提供的安全补丁以修复该漏洞: https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
Reference
https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
Impacted products
| Name | ['Vim Vim 8.1.1364', 'Neovim Neovim 0.3.5'] |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2019-12735"
}
},
"description": "Vim\u662f\u4e00\u6b3e\u57fa\u4e8eUNIX\u5e73\u53f0\u7684\u7f16\u8f91\u5668\u3002Neovim\u662fVim\u7684\u91cd\u6784\u7248\u3002\n\nVim\u548cNeovim getchar.c\u6587\u4ef6\u5b58\u5728\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\uff0c\u5141\u8bb8\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u4ee5\u5229\u7528\u6f0f\u6d1e\u63d0\u4ea4\u7279\u6b8a\u7684\u6587\u4ef6\u8bf7\u6c42\uff0c\u8bf1\u4f7f\u7528\u6237\u89e3\u6790\uff0c\u53ef\u4ee5\u5e94\u7528\u7a0b\u5e8f\u4e0a\u4e0b\u6587\u6267\u884c\u4efb\u610fOS\u547d\u4ee4\u3002",
"discovererName": "Arminius",
"formalWay": "\u7528\u6237\u53ef\u53c2\u8003\u5982\u4e0b\u5382\u5546\u63d0\u4f9b\u7684\u5b89\u5168\u8865\u4e01\u4ee5\u4fee\u590d\u8be5\u6f0f\u6d1e\uff1a\r\nhttps://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2019-17309",
"openTime": "2019-06-14",
"patchDescription": "Vim\u662f\u4e00\u6b3e\u57fa\u4e8eUNIX\u5e73\u53f0\u7684\u7f16\u8f91\u5668\u3002Neovim\u662fVim\u7684\u91cd\u6784\u7248\u3002\r\n\r\nVim\u548cNeovim getchar.c\u6587\u4ef6\u5b58\u5728\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\uff0c\u5141\u8bb8\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u4ee5\u5229\u7528\u6f0f\u6d1e\u63d0\u4ea4\u7279\u6b8a\u7684\u6587\u4ef6\u8bf7\u6c42\uff0c\u8bf1\u4f7f\u7528\u6237\u89e3\u6790\uff0c\u53ef\u4ee5\u5e94\u7528\u7a0b\u5e8f\u4e0a\u4e0b\u6587\u6267\u884c\u4efb\u610fOS\u547d\u4ee4\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
"patchName": "Vim\u548cNeovim\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": [
"Vim Vim 8.1.1364",
"Neovim Neovim 0.3.5"
]
},
"referenceLink": "https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040",
"serverity": "\u9ad8",
"submitTime": "2019-06-10",
"title": "Vim\u548cNeovim\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e"
}
CVE-2019-12735 (GCVE-0-2019-12735)
Vulnerability from cvelistv5
Published
2019-06-05 13:07
Modified
2025-11-11 16:50
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- n/a
Summary
getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.
References
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T23:32:54.206Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/neovim/neovim/pull/10082"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://bugs.debian.org/930020"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://bugs.debian.org/930024"
},
{
"name": "FEDORA-2019-d79f89346c",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/"
},
{
"name": "USN-4016-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4016-1/"
},
{
"name": "USN-4016-2",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4016-2/"
},
{
"name": "108724",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
],
"url": "http://www.securityfocus.com/bid/108724"
},
{
"name": "FEDORA-2019-dcd49378b8",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/"
},
{
"name": "openSUSE-SU-2019:1551",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html"
},
{
"name": "openSUSE-SU-2019:1562",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html"
},
{
"name": "openSUSE-SU-2019:1561",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html"
},
{
"name": "DSA-4467",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
],
"url": "https://www.debian.org/security/2019/dsa-4467"
},
{
"name": "20190624 [SECURITY] [DSA 4467-2] vim regression update",
"tags": [
"mailing-list",
"x_refsource_BUGTRAQ",
"x_transferred"
],
"url": "https://seclists.org/bugtraq/2019/Jun/33"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://support.f5.com/csp/article/K93144355"
},
{
"name": "RHSA-2019:1619",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1619"
},
{
"name": "RHSA-2019:1774",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1774"
},
{
"name": "RHSA-2019:1793",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1793"
},
{
"name": "openSUSE-SU-2019:1759",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html"
},
{
"name": "openSUSE-SU-2019:1796",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html"
},
{
"name": "DSA-4487",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
],
"url": "https://www.debian.org/security/2019/dsa-4487"
},
{
"name": "20190724 [SECURITY] [DSA 4487-1] neovim security update",
"tags": [
"mailing-list",
"x_refsource_BUGTRAQ",
"x_transferred"
],
"url": "https://seclists.org/bugtraq/2019/Jul/39"
},
{
"name": "RHSA-2019:1947",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1947"
},
{
"name": "[debian-lts-announce] 20190803 [SECURITY] [DLA 1871-1] vim security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
],
"url": "https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html"
},
{
"name": "openSUSE-SU-2019:1997",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://support.f5.com/csp/article/K93144355?utm_source=f5support\u0026amp%3Butm_medium=RSS"
},
{
"name": "GLSA-202003-04",
"tags": [
"vendor-advisory",
"x_refsource_GENTOO",
"x_transferred"
],
"url": "https://security.gentoo.org/glsa/202003-04"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-11-11T16:50:16.838Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"url": "https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md"
},
{
"url": "https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040"
},
{
"url": "https://github.com/neovim/neovim/pull/10082"
},
{
"url": "https://bugs.debian.org/930020"
},
{
"url": "https://bugs.debian.org/930024"
},
{
"name": "FEDORA-2019-d79f89346c",
"tags": [
"vendor-advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/"
},
{
"name": "USN-4016-1",
"tags": [
"vendor-advisory"
],
"url": "https://usn.ubuntu.com/4016-1/"
},
{
"name": "USN-4016-2",
"tags": [
"vendor-advisory"
],
"url": "https://usn.ubuntu.com/4016-2/"
},
{
"name": "108724",
"tags": [
"vdb-entry"
],
"url": "http://www.securityfocus.com/bid/108724"
},
{
"name": "FEDORA-2019-dcd49378b8",
"tags": [
"vendor-advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/"
},
{
"name": "openSUSE-SU-2019:1551",
"tags": [
"vendor-advisory"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html"
},
{
"name": "openSUSE-SU-2019:1562",
"tags": [
"vendor-advisory"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html"
},
{
"name": "openSUSE-SU-2019:1561",
"tags": [
"vendor-advisory"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html"
},
{
"name": "DSA-4467",
"tags": [
"vendor-advisory"
],
"url": "https://www.debian.org/security/2019/dsa-4467"
},
{
"name": "20190624 [SECURITY] [DSA 4467-2] vim regression update",
"tags": [
"mailing-list"
],
"url": "https://seclists.org/bugtraq/2019/Jun/33"
},
{
"url": "https://support.f5.com/csp/article/K93144355"
},
{
"name": "RHSA-2019:1619",
"tags": [
"vendor-advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1619"
},
{
"name": "RHSA-2019:1774",
"tags": [
"vendor-advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1774"
},
{
"name": "RHSA-2019:1793",
"tags": [
"vendor-advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1793"
},
{
"name": "openSUSE-SU-2019:1759",
"tags": [
"vendor-advisory"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html"
},
{
"name": "openSUSE-SU-2019:1796",
"tags": [
"vendor-advisory"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html"
},
{
"name": "DSA-4487",
"tags": [
"vendor-advisory"
],
"url": "https://www.debian.org/security/2019/dsa-4487"
},
{
"name": "20190724 [SECURITY] [DSA 4487-1] neovim security update",
"tags": [
"mailing-list"
],
"url": "https://seclists.org/bugtraq/2019/Jul/39"
},
{
"name": "RHSA-2019:1947",
"tags": [
"vendor-advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2019:1947"
},
{
"name": "[debian-lts-announce] 20190803 [SECURITY] [DLA 1871-1] vim security update",
"tags": [
"mailing-list"
],
"url": "https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html"
},
{
"name": "openSUSE-SU-2019:1997",
"tags": [
"vendor-advisory"
],
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html"
},
{
"url": "https://support.f5.com/csp/article/K93144355?utm_source=f5support\u0026amp;utm_medium=RSS"
},
{
"name": "GLSA-202003-04",
"tags": [
"vendor-advisory"
],
"url": "https://security.gentoo.org/glsa/202003-04"
},
{
"url": "https://www.exploit-db.com/exploits/46973"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2019-12735",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md",
"refsource": "MISC",
"url": "https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md"
},
{
"name": "https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040",
"refsource": "MISC",
"url": "https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040"
},
{
"name": "https://github.com/neovim/neovim/pull/10082",
"refsource": "MISC",
"url": "https://github.com/neovim/neovim/pull/10082"
},
{
"name": "https://bugs.debian.org/930020",
"refsource": "MISC",
"url": "https://bugs.debian.org/930020"
},
{
"name": "https://bugs.debian.org/930024",
"refsource": "MISC",
"url": "https://bugs.debian.org/930024"
},
{
"name": "FEDORA-2019-d79f89346c",
"refsource": "FEDORA",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/"
},
{
"name": "USN-4016-1",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4016-1/"
},
{
"name": "USN-4016-2",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4016-2/"
},
{
"name": "108724",
"refsource": "BID",
"url": "http://www.securityfocus.com/bid/108724"
},
{
"name": "FEDORA-2019-dcd49378b8",
"refsource": "FEDORA",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/"
},
{
"name": "openSUSE-SU-2019:1551",
"refsource": "SUSE",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html"
},
{
"name": "openSUSE-SU-2019:1562",
"refsource": "SUSE",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html"
},
{
"name": "openSUSE-SU-2019:1561",
"refsource": "SUSE",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html"
},
{
"name": "DSA-4467",
"refsource": "DEBIAN",
"url": "https://www.debian.org/security/2019/dsa-4467"
},
{
"name": "20190624 [SECURITY] [DSA 4467-2] vim regression update",
"refsource": "BUGTRAQ",
"url": "https://seclists.org/bugtraq/2019/Jun/33"
},
{
"name": "https://support.f5.com/csp/article/K93144355",
"refsource": "CONFIRM",
"url": "https://support.f5.com/csp/article/K93144355"
},
{
"name": "RHSA-2019:1619",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2019:1619"
},
{
"name": "RHSA-2019:1774",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2019:1774"
},
{
"name": "RHSA-2019:1793",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2019:1793"
},
{
"name": "openSUSE-SU-2019:1759",
"refsource": "SUSE",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html"
},
{
"name": "openSUSE-SU-2019:1796",
"refsource": "SUSE",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html"
},
{
"name": "DSA-4487",
"refsource": "DEBIAN",
"url": "https://www.debian.org/security/2019/dsa-4487"
},
{
"name": "20190724 [SECURITY] [DSA 4487-1] neovim security update",
"refsource": "BUGTRAQ",
"url": "https://seclists.org/bugtraq/2019/Jul/39"
},
{
"name": "RHSA-2019:1947",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2019:1947"
},
{
"name": "[debian-lts-announce] 20190803 [SECURITY] [DLA 1871-1] vim security update",
"refsource": "MLIST",
"url": "https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html"
},
{
"name": "openSUSE-SU-2019:1997",
"refsource": "SUSE",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html"
},
{
"name": "https://support.f5.com/csp/article/K93144355?utm_source=f5support\u0026amp;utm_medium=RSS",
"refsource": "CONFIRM",
"url": "https://support.f5.com/csp/article/K93144355?utm_source=f5support\u0026amp;utm_medium=RSS"
},
{
"name": "GLSA-202003-04",
"refsource": "GENTOO",
"url": "https://security.gentoo.org/glsa/202003-04"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2019-12735",
"datePublished": "2019-06-05T13:07:48.000Z",
"dateReserved": "2019-06-05T00:00:00.000Z",
"dateUpdated": "2025-11-11T16:50:16.838Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…