CVE-2023-48706
Public on 2023-11-22
Modified on 2024-03-27
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 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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 1 | vim | Pending Fix | ||
Amazon Linux 2 - Core | vim | 2024-01-03 | ALAS2-2024-2384 | Fixed |
Amazon Linux 2 - Core | vim | 2024-02-15 | ALAS2-2024-2452 | Fixed |
Amazon Linux 2023 | vim | 2024-01-03 | ALAS2023-2024-469 | Fixed |
Amazon Linux 2023 | vim | 2024-02-15 | ALAS2023-2024-518 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 3.6 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L |
NVD | CVSSv3 | 3.6 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L |