CVE-2022-1621
vim: heap buffer overflow in vim_strncpy
Overview
Description
Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-122, CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 28 fixes
Oracle Linux 2 releases · 1 package
fixed 2
vim-common
| Release | Package | Fixed in |
|---|---|---|
| 8 | vim-common +4 | 2:8.0.1763-19.0.1.el8_6.2 |
| 9 | vim-common +4 | 2:8.2.2637-16.0.1.el9_0.2 |
Photon OS 1 release · 1 package
fixed 1
vim
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | vim +1 | 8.2.4925-1.ph4 |
Red Hat 3 releases · 2 packages
eol 1
fixed 2
vim
vim-common
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | vim +5 | eol | — |
| 8 | vim-common +4 | 2:8.0.1763-19.el8_6.2 | RHSA-2022:5319 |
| 9 | vim-common +4 | 2:8.2.2637-16.el9_0.2 | RHSA-2022:5242 |
alma 2 releases · 1 package
fixed 2
vim-common
| Release | Package | Fixed in |
|---|---|---|
| 8 | vim-common +4 | 2:8.0.1763-19.el8_6.2 |
| 9 | vim-common +4 | 2:8.2.2637-16.el9_0.2 |
alpine 4 releases · 1 package
fixed 4
vim
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | vim | 8.2.4969-r0 |
| 3.23 | vim | 8.2.4969-r0 |
| 3.24 | vim | 8.2.4969-r0 |
| edge | vim | 8.2.4969-r0 |
amazon linux 1 release · 1 package
fixed 1
vim-common
| Release | Package | Fixed in |
|---|---|---|
| 2023 | vim-common +10 | 2:9.0.1160-1.amzn2023.0.2 |
debian 6 releases · 1 package
fixed 5
affected 1
vim
| Release | Package | Fixed in |
|---|---|---|
| 10 | vim | 2:8.1.0875-5+deb10u4 |
| 11 | vim | affected |
| 12 | vim | 2:9.0.0135-1 |
| 13 | vim | 2:9.0.0135-1 |
| 14 | vim | 2:9.0.0135-1 |
| 9 | vim | 2:8.0.0197-4+deb9u6 |
echo 1 release · 1 package
fixed 1
vim
| Release | Package | Fixed in |
|---|---|---|
| vim | 2:9.0.0135-1 |
openSUSE 1 release · 1 package
fixed 1
gvim
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gvim +4 | 9.0.0453-2.1 | openSUSE-SU-2024:12337-1 |
rocky 1 release · 1 package
fixed 1
vim-common
| Release | Package | Fixed in |
|---|---|---|
| 8 | vim-common +4 | 2:8.0.1763-19.el8_6.2 |
root.io debian 1 release · 1 package
fixed 1
rootio-vim
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-vim | 2:9.0.0135-1 |
ubuntu 5 releases · 1 package
fixed 5
vim
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | vim | 2:8.0.1453-1ubuntu1.9 |
| 18.04-ESM | vim | 2:8.0.1453-1ubuntu1.9 |
| 20.04 | vim | 2:8.1.2269-1ubuntu5.8 |
| 20.04-ESM | vim | 2:8.1.2269-1ubuntu5.8 |
| 22.04 | vim | 2:8.2.3995-1ubuntu2.1 |
References
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/28
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/41
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:5242
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1621.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1629.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-1621
- bugzilla.redhat.com https://bugzilla.redhat.com/2058483
- bugzilla.redhat.com https://bugzilla.redhat.com/2064064
- bugzilla.redhat.com https://bugzilla.redhat.com/2073013
- bugzilla.redhat.com https://bugzilla.redhat.com/2077734
Show all 29 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2083924
- bugzilla.redhat.com https://bugzilla.redhat.com/2083931
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-5242.html
- github.com https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b
- github.com https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b (v8.2.4919)
- huntr.dev https://huntr.dev/bounties/520ce714-bfd2-4646-9458-f52cd22bb2fb
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-1621.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-5319.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-1621
- security.gentoo.org https://security.gentoo.org/glsa/202208-32
- security.gentoo.org https://security.gentoo.org/glsa/202305-16
- support.apple.com https://support.apple.com/kb/HT213488
- ubuntu.com https://ubuntu.com/security/notices/USN-5460-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5613-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5613-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-1621
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.