Vulnerability · Published Apr 21, 2022 · Assigned by @huntrdev
CVE-2022-1420Use of Out-of-range Pointer Offset in vim/vim
Medium 6.8
In plain English
A medium-severity security flaw 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.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)6.8Medium
Exploit odds (30 days)1.5%top 26.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.
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 |
| Debian:12 | vim | 2:8.2.4793-1 | DEBIAN-CVE-2022-1420 |
| Debian:13 | vim | 2:8.2.4793-1 | DEBIAN-CVE-2022-1420 |
| Debian:14 | vim | 2:8.2.4793-1 | DEBIAN-CVE-2022-1420 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.1 | UBUNTU-CVE-2022-1420 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.1 | USN-5613-1 |
Affected products (as reported)
Weakness: CWE-823 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
References
- https://huntr.dev/bounties/a4323ef8-90ea-4e1c-90e9-c778f0ecf326
- https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca
- FEDORA-2022-e304fffd34 vendor-advisory
- FEDORA-2022-b605768c94 vendor-advisory
- 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
- GLSA-202305-16 vendor-advisory