Name | CVE-2021-3770 |
Description | vim is vulnerable to Heap-based Buffer Overflow |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 994076 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
vim (PTS) | jessie, jessie (lts) | 2:7.4.488-7+deb8u11 | fixed |
| stretch (security) | 2:8.0.0197-4+deb9u7 | fixed |
| stretch (lts), stretch | 2:8.0.0197-4+deb9u11 | fixed |
| buster (security), buster, buster (lts) | 2:8.1.0875-5+deb10u6 | fixed |
| bullseye | 2:8.2.2434-3+deb11u1 | fixed |
| bookworm | 2:9.0.1378-2 | fixed |
| sid, trixie | 2:9.1.0861-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
vim | source | jessie | (not affected) | | | |
vim | source | stretch | (not affected) | | | |
vim | source | buster | 2:8.1.0875-5+deb10u1 | | | |
vim | source | bullseye | 2:8.2.2434-3+deb11u1 | | | |
vim | source | (unstable) | 2:8.2.3455-1 | | | 994076 |
Notes
https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365/
Fixed by: https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9 (v8.2.3402)
Followup fix for introduced memory leak: https://github.com/vim/vim/commit/2ddb89f8a94425cda1e5491efc80c1ccccb6e08e (v8.2.3403)
https://www.openwall.com/lists/oss-security/2021/10/01/1
[stretch] - vim <not-affected> (introduced in 8.1.0105)
[jessie] - vim <not-affected> (introduced in 8.1.0105)