Vulnerability · Published Mar 14, 2022 · Assigned by @huntrdev
CVE-2022-0943Heap-based Buffer Overflow occurs in vim in vim/vim
High 8.4
In plain English
A high-severity heap buffer overflow in vim/vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)8.4High
Exploit odds (30 days)0.7%top 46.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | vim-X11 | 2:8.2.2637-16.el9_0.2 | ALSA-2022:5242 |
| AlmaLinux:9 | vim-common | 2:8.2.2637-16.el9_0.2 | ALSA-2022:5242 |
| AlmaLinux:9 | vim-enhanced | 2:8.2.2637-16.el9_0.2 | ALSA-2022:5242 |
| AlmaLinux:9 | vim-filesystem | 2:8.2.2637-16.el9_0.2 | ALSA-2022:5242 |
| AlmaLinux:9 | vim-minimal | 2:8.2.2637-16.el9_0.2 | ALSA-2022:5242 |
| Alpine:v3.20 | vim | 8.2.4619-r0 | ALPINE-CVE-2022-0943 |
| Alpine:v3.21 | vim | 8.2.4619-r0 | ALPINE-CVE-2022-0943 |
| Alpine:v3.22 | vim | 8.2.4619-r0 | ALPINE-CVE-2022-0943 |
| Alpine:v3.23 | vim | 8.2.4619-r0 | ALPINE-CVE-2022-0943 |
| Alpine:v3.24 | vim | 8.2.4619-r0 | ALPINE-CVE-2022-0943 |
| Debian:12 | vim | 2:8.2.4659-1 | DEBIAN-CVE-2022-0943 |
| Debian:13 | vim | 2:8.2.4659-1 | DEBIAN-CVE-2022-0943 |
| Debian:14 | vim | 2:8.2.4659-1 | DEBIAN-CVE-2022-0943 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.1 | UBUNTU-CVE-2022-0943 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.1 | USN-5613-1 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://huntr.dev/bounties/9e4de32f-ad5f-4830-b3ae-9467b5ab90a1
- https://github.com/vim/vim/commit/5c68617d395f9d7b824f68475b24ce3e38d653a3
- FEDORA-2022-b718ebbfce vendor-advisory
- FEDORA-2022-e62adccfca vendor-advisory
- [debian-lts-announce] 20220620 [SECURITY] [DLA 3053-1] vim security update mailing-list
- GLSA-202208-32 vendor-advisory
- https://support.apple.com/kb/HT213488
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- [debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update mailing-list