ALAS2-2024-2452
Active ModerateALAS2-2024-2452 (medium): vim
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2024-2452.html| CVE |
|---|
| CVE-2023-48706 |
| CVE-2024-22667 |
Description
Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user
Read full publisher description 808 characters
Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue. (CVE-2023-48706) Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions. (CVE-2024-22667)
Solution
Run yum update vim or yum update --advisory ALAS2-2024-2452 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.1.aarch64
- vim-minimal-9.0.2153-1.amzn2.0.1.aarch64
- vim-enhanced-9.0.2153-1.amzn2.0.1.aarch64
- vim-X11-9.0.2153-1.amzn2.0.1.aarch64
- xxd-9.0.2153-1.amzn2.0.1.aarch64
- vim-debuginfo-9.0.2153-1.amzn2.0.1.aarch64
-
2vim
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.1.i686
- vim-minimal-9.0.2153-1.amzn2.0.1.i686
- vim-enhanced-9.0.2153-1.amzn2.0.1.i686
- vim-X11-9.0.2153-1.amzn2.0.1.i686
- xxd-9.0.2153-1.amzn2.0.1.i686
- vim-debuginfo-9.0.2153-1.amzn2.0.1.i686
-
3vim
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- vim-filesystem-9.0.2153-1.amzn2.0.1.noarch
- vim-data-9.0.2153-1.amzn2.0.1.noarch
-
4vim
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- vim-9.0.2153-1.amzn2.0.1.src
-
5vim
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.1.x86_64
- vim-minimal-9.0.2153-1.amzn2.0.1.x86_64
- vim-enhanced-9.0.2153-1.amzn2.0.1.x86_64
- vim-X11-9.0.2153-1.amzn2.0.1.x86_64
- xxd-9.0.2153-1.amzn2.0.1.x86_64
- vim-debuginfo-9.0.2153-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
4- CVE-2023-48706 https://access.redhat.com/security/cve/CVE-2023-48706
- CVE-2024-22667 https://access.redhat.com/security/cve/CVE-2024-22667
- CVE-2023-48706 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-48706
- CVE-2024-22667 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22667
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-2452.html | Unknown | f330b9ce7df7ab06759063ebbc692cdd5c618c3fb8fa2db3c9e3949973c0e407 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2452.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2452.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |