ALAS2-2024-2711
Active ModerateALAS2-2024-2711 (medium): vim
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2024-43802 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2024-2711.html |
Description
Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size,
Read full publisher description 1200 characters
Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this situation. It seems to happen when error messages occur (which will cause Vim to flush the typeahead buffer) in comnination with several long mappgins and so it may eventually move the off position out of a valid buffer size. Impact is low since it is not easily reproducible and requires to have several mappings active and run into some error condition. But when this happens, this will cause a crash. The issue has been fixed as of Vim patch v9.1.0697. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2024-43802)
Solution
Run yum update vim or yum update --advisory ALAS2-2024-2711 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-9.0.2153-1.amzn2.0.2.aarch64
- vim-minimal-9.0.2153-1.amzn2.0.2.aarch64
- vim-enhanced-9.0.2153-1.amzn2.0.2.aarch64
- vim-X11-9.0.2153-1.amzn2.0.2.aarch64
- xxd-9.0.2153-1.amzn2.0.2.aarch64
- vim-debuginfo-9.0.2153-1.amzn2.0.2.aarch64
-
2vim
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.2.i686
- vim-minimal-9.0.2153-1.amzn2.0.2.i686
- vim-enhanced-9.0.2153-1.amzn2.0.2.i686
- vim-X11-9.0.2153-1.amzn2.0.2.i686
- xxd-9.0.2153-1.amzn2.0.2.i686
- vim-debuginfo-9.0.2153-1.amzn2.0.2.i686
-
3vim
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- vim-filesystem-9.0.2153-1.amzn2.0.2.noarch
- vim-data-9.0.2153-1.amzn2.0.2.noarch
-
4vim
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- vim-9.0.2153-1.amzn2.0.2.src
-
5vim
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.2.x86_64
- vim-minimal-9.0.2153-1.amzn2.0.2.x86_64
- vim-enhanced-9.0.2153-1.amzn2.0.2.x86_64
- vim-X11-9.0.2153-1.amzn2.0.2.x86_64
- xxd-9.0.2153-1.amzn2.0.2.x86_64
- vim-debuginfo-9.0.2153-1.amzn2.0.2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2024-43802 https://access.redhat.com/security/cve/CVE-2024-43802
- CVE-2024-43802 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43802
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-2024-2711.html | Unknown | 937a88cc6728f12e739a8c7e4a159effb60ae1194aa3f975f6531b10ae3a9b5d | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2711.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2711.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |