Vulnerability Details : CVE-2021-3903
vim is vulnerable to Heap-based Buffer Overflow
Vulnerability category: OverflowMemory Corruption
Exploit prediction scoring system (EPSS) score for CVE-2021-3903
Probability of exploitation activity in the next 30 days: 0.05%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 20 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-3903
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
NIST |
7.3
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H |
1.8
|
5.5
|
huntr.dev |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2021-3903
-
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().Assigned by: security@huntr.dev (Primary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Secondary)
References for CVE-2021-3903
-
http://www.openwall.com/lists/oss-security/2022/01/15/1
oss-security - Re: 3 new CVE's in vimMailing List;Third Party Advisory
-
https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43
patch 8.2.3564: invalid memory access when scrolling without valid sc… · vim/vim@777e7c2 · GitHubPatch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
[SECURITY] Fedora 34 Update: vim-8.2.3755-1.fc34 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BN4EX7BPQU7RP6PXCNCSDORUZBXQ4JUH/
Mailing List;Third Party Advisory
-
https://huntr.dev/bounties/35738a4f-55ce-446c-b836-2fb0b39625f8
huntr: Heap-based Buffer Overflow Vim script Vulnerability in vimExploit;Issue Tracking;Patch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DU26T75PYA3OF7XJGNKMT2ZCQEU4UKP5/
Mailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html
[SECURITY] [DLA 3053-1] vim security updateMailing List;Third Party Advisory
Products affected by CVE-2021-3903
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*