ALAS2-2022-1805
Active ModerateALAS2-2022-1805 (medium): vim
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 12 records
Shared by all 12 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2022-1805.html| CVE |
|---|
| CVE-2022-0393 |
| CVE-2022-0408 |
| CVE-2022-0413 |
| CVE-2022-0417 |
| CVE-2022-0443 |
| CVE-2022-0714 |
| CVE-2022-0729 |
| CVE-2022-0943 |
| CVE-2022-1154 |
| CVE-2022-1160 |
| CVE-2022-1381 |
| CVE-2022-1420 |
Description
A flaw was found in vim. The vulnerability occurs due to a crash when recording and using Select mode and leads to an out-of-bounds read. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0393) A flaw was found in vim. The vulnerability occurs due to stack corruption when looking for spell
Read full publisher description 3822 characters
A flaw was found in vim. The vulnerability occurs due to a crash when recording and using Select mode and leads to an out-of-bounds read. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0393) A flaw was found in vim. The vulnerability occurs due to stack corruption when looking for spell suggestions and leads to a stack buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0408) A flaw was found in vim. The vulnerability occurs due to using freed memory when the substitute uses a recursive function call, resulting in a use-after-free vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0413) A flaw was found in vim. The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0417) A flaw was found in vim. The vulnerability occurs due to using freed memory which results in a use-after-free vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0443) A heap-buffer-overflow flaw was found in vim's win_lbr_chartabsize() function of charset.c file. The issue occurs due to an incorrect 'vartabstop' value. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap-overflow, and can cause an application to crash, eventually leading to a denial of service. (CVE-2022-0714) A flaw was found in vim. The vulnerability occurs due to crashes within specific regexp patterns and strings and leads to an out-of-range vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0729) A heap buffer overflow flaw was found in vim's suggest_try_change() function of the spellsuggest.c file. This flaw allows an attacker to trick a user into opening a crafted file, triggering a heap-overflow and causing an application to crash, which leads to a denial of service. (CVE-2022-0943) A heap use-after-free vulnerability was found in Vim's utf_ptr2char() function of the src/mbyte.c file. This flaw occurs because vim is using a buffer line after it has been freed in the old regexp engine. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap use-after-free that causes an application to crash, possibly executing code and corrupting memory. (CVE-2022-1154) A heap buffer overflow flaw was found in vim's get_one_sourceline() function of scriptfile.c file. This flaw occurs when source can read past the end of the copied line. This flaw allows an attacker to trick a user into opening a crafted file, triggering a heap-overflow and causing an application to crash, which leads to a denial of service. (CVE-2022-1160) A global heap buffer overflow vulnerability was found in vim's skip_range() function of the src/ex_docmd.c file. This flaw occurs because vim uses an invalid pointer with V: in Ex mode. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer overflow that causes an application to crash, leading to a denial of service. (CVE-2022-1381) A vulnerability was found in Vim. The issue occurs when using a number in a string for the lambda name, triggering an out-of-range pointer offset vulnerability. This flaw allows an attacker to trick a user into opening a crafted script containing an argument as a number and then using it as a string pointer to access any memory location, causing an application to crash and possibly access some memory. (CVE-2022-1420)
Solution
Run yum update vim or yum update --advisory ALAS2-2022-1805 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1vim
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- vim-common-8.2.4857-1.amzn2.0.1.aarch64
- vim-minimal-8.2.4857-1.amzn2.0.1.aarch64
- vim-enhanced-8.2.4857-1.amzn2.0.1.aarch64
- vim-X11-8.2.4857-1.amzn2.0.1.aarch64
- vim-debuginfo-8.2.4857-1.amzn2.0.1.aarch64
-
2vim
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- vim-common-8.2.4857-1.amzn2.0.1.i686
- vim-minimal-8.2.4857-1.amzn2.0.1.i686
- vim-enhanced-8.2.4857-1.amzn2.0.1.i686
- vim-X11-8.2.4857-1.amzn2.0.1.i686
- vim-debuginfo-8.2.4857-1.amzn2.0.1.i686
-
3vim
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- vim-filesystem-8.2.4857-1.amzn2.0.1.noarch
- vim-data-8.2.4857-1.amzn2.0.1.noarch
-
4vim
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- vim-8.2.4857-1.amzn2.0.1.src
-
5vim
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- vim-common-8.2.4857-1.amzn2.0.1.x86_64
- vim-minimal-8.2.4857-1.amzn2.0.1.x86_64
- vim-enhanced-8.2.4857-1.amzn2.0.1.x86_64
- vim-X11-8.2.4857-1.amzn2.0.1.x86_64
- vim-debuginfo-8.2.4857-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
24- CVE-2022-0393 https://access.redhat.com/security/cve/CVE-2022-0393
- CVE-2022-0408 https://access.redhat.com/security/cve/CVE-2022-0408
- CVE-2022-0413 https://access.redhat.com/security/cve/CVE-2022-0413
- CVE-2022-0417 https://access.redhat.com/security/cve/CVE-2022-0417
- CVE-2022-0443 https://access.redhat.com/security/cve/CVE-2022-0443
- CVE-2022-0714 https://access.redhat.com/security/cve/CVE-2022-0714
- CVE-2022-0729 https://access.redhat.com/security/cve/CVE-2022-0729
- CVE-2022-0943 https://access.redhat.com/security/cve/CVE-2022-0943
- CVE-2022-1154 https://access.redhat.com/security/cve/CVE-2022-1154
- CVE-2022-1160 https://access.redhat.com/security/cve/CVE-2022-1160
- CVE-2022-1381 https://access.redhat.com/security/cve/CVE-2022-1381
- CVE-2022-1420 https://access.redhat.com/security/cve/CVE-2022-1420
- CVE-2022-0393 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0393
- CVE-2022-0408 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0408
- CVE-2022-0413 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0413
- CVE-2022-0417 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0417
- CVE-2022-0443 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0443
- CVE-2022-0714 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0714
- CVE-2022-0729 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0729
- CVE-2022-0943 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0943
- CVE-2022-1154 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1154
- CVE-2022-1160 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1160
- CVE-2022-1381 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1381
- CVE-2022-1420 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1420
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2022-1805.html | Unknown | bf23e4fa2ea1458a0cbbf0ceb5aaa317f1782ac5c3a191db6b4cbe431b552e23 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2022-1805.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2022-1805.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |