Vulnerability · Published Jan 10, 2022 · Assigned by @huntrdev
CVE-2022-0156Use After Free in vim/vim
Medium 6.8
In plain English
A medium-severity use-after-free 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 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)6.8Medium
Exploit odds (30 days)1.8%top 20.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
vim is vulnerable to Use After Free
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | vim | 8.2.4173-r0 | ALPINE-CVE-2022-0156 |
| Alpine:v3.21 | vim | 8.2.4173-r0 | ALPINE-CVE-2022-0156 |
| Alpine:v3.22 | vim | 8.2.4173-r0 | ALPINE-CVE-2022-0156 |
| Alpine:v3.23 | vim | 8.2.4173-r0 | ALPINE-CVE-2022-0156 |
| Alpine:v3.24 | vim | 8.2.4173-r0 | ALPINE-CVE-2022-0156 |
| Debian:12 | vim | 2:8.2.4659-1 | DEBIAN-CVE-2022-0156 |
| Debian:13 | vim | 2:8.2.4659-1 | DEBIAN-CVE-2022-0156 |
| Debian:14 | vim | 2:8.2.4659-1 | DEBIAN-CVE-2022-0156 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.9 | UBUNTU-CVE-2022-0156 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.9 | USN-6195-1 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
References
- https://huntr.dev/bounties/47dded34-3767-4725-8c7c-9dcb68c70b36 x_refsource_CONFIRM
- https://github.com/vim/vim/commit/9f1a39a5d1cd7989ada2d1cb32f97d84360e050f x_refsource_MISC
- FEDORA-2022-20e66c6698 vendor-advisory, x_refsource_FEDORA
- [oss-security] 20220114 Re: 3 new CVE's in vim mailing-list, x_refsource_MLIST
- FEDORA-2022-48b86d586f vendor-advisory, x_refsource_FEDORA
- https://support.apple.com/kb/HT213183 x_refsource_CONFIRM
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 mailing-list, x_refsource_FULLDISC
- https://support.apple.com/kb/HT213344 x_refsource_CONFIRM
- 20220721 APPLE-SA-2022-07-20-3 macOS Big Sur 11.6.8 mailing-list, x_refsource_FULLDISC
- GLSA-202208-32 vendor-advisory, x_refsource_GENTOO