CVE-2021-3770

NameCVE-2021-3770
Descriptionvim is vulnerable to Heap-based Buffer Overflow
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs994076

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
vim (PTS)stretch2:8.0.0197-4+deb9u3fixed
stretch (security)2:8.0.0197-4+deb9u4fixed
buster2:8.1.0875-5vulnerable
bullseye2:8.2.2434-3+deb11u1fixed
bookworm, sid2:8.2.3995-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
vimsourcestretch(not affected)
vimsourcebullseye2:8.2.2434-3+deb11u1
vimsource(unstable)2:8.2.3455-1994076

Notes

[buster] - vim <no-dsa> (Minor issue)
[stretch] - vim <not-affected> (Vulnerable code not present)
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

Search for package or bug name: Reporting problems