Name | CVE-2021-3903 |
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) |
References | DLA-3053-1, ELA-628-1 |
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 | vulnerable |
| bullseye | 2:8.2.2434-3+deb11u1 | vulnerable |
| 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 | 2:7.4.488-7+deb8u7 | | ELA-628-1 | |
vim | source | stretch | 2:8.0.0197-4+deb9u7 | | DLA-3053-1 | |
vim | source | (unstable) | 2:8.2.3565-1 | unimportant | | |
Notes
https://huntr.dev/bounties/35738a4f-55ce-446c-b836-2fb0b39625f8
https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43
PoC crashes starting with https://github.com/vim/vim/commit/8a7d6542b33e5d2b352262305c3bfdb2d14e1cf8 (v8.2.0149)
Crash in CLI tool, no security impact