CVE-2021-3770
CVE-2021-3770 · Heap-based Buffer Overflow in vim/vim
CVSS 8.6 · High · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- vim/vimUpdate to 8.2.3403
- vim Alpine 3.11Update to 8.2.3437-r0
- vim Alpine 3.12Update to 8.2.3437-r0
- vim Alpine 3.13Update to 8.2.3437-r0
- and 15 more
Check the installed version:
apk list -I -o vimAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
vim is vulnerable to Heap-based Buffer Overflow
- Published
- Updated
Fixes in distributions
- USN-5093-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS ·
Stack: system
Affected products and versions
vim/vim
- Versions
- ≥ unspecified, < 8.2.3403: Affected (custom)
Update to 8.2.3403
vim Alpine 3.11
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.12
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.13
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.14
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.15
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.16
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 8.2.3437-r0
Update to 8.2.3437-r0
vim Debian 12
- Affected ranges
- ECOSYSTEM: < 2:8.2.3455-1
Update to 2:8.2.3455-1
vim Debian 13
- Affected ranges
- ECOSYSTEM: < 2:8.2.3455-1
Update to 2:8.2.3455-1
vim Debian 14
- Affected ranges
- ECOSYSTEM: < 2:8.2.3455-1
Update to 2:8.2.3455-1
vim Ubuntu 20.04 LTS
- Versions
- 2:8.1.0875-5ubuntu2
- 2:8.1.0875-5ubuntu3
- 2:8.1.0875-5ubuntu4
- 2:8.1.2269-1ubuntu1
- 2:8.1.2269-1ubuntu4
- 2:8.1.2269-1ubuntu5
- Affected ranges
- ECOSYSTEM: < 2:8.1.2269-1ubuntu5.3
Update to 2:8.1.2269-1ubuntu5.3
Original sources
- https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365
- https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4FFQARG3LGREPDZRI4C7ERQL3RJKEWQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZFNTMVZCN4TRTTCAXRLVQ7H2P7FYAIZQ/
- http://www.openwall.com/lists/oss-security/2021/10/01/1
- https://security.gentoo.org/glsa/202208-32
- https://security.netapp.com/advisory/ntap-20221124-0003/
- https://nvd.nist.gov/vuln/detail/CVE-2021-3770