ALAS-2024-469


Amazon Linux 2023 Security Advisory: ALAS-2024-469
Advisory Release Date: 2024-01-03 23:20 Pacific
Advisory Updated Date: 2024-01-08 21:03 Pacific
Severity: Low

Issue Overview:

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)


Affected Packages:

vim


Issue Correction:
Run dnf update vim --releasever 2023.3.20240108 to update your system.

New Packages:
aarch64:
    vim-enhanced-debuginfo-9.0.2153-1.amzn2023.aarch64
    vim-minimal-9.0.2153-1.amzn2023.aarch64
    xxd-9.0.2153-1.amzn2023.aarch64
    vim-enhanced-9.0.2153-1.amzn2023.aarch64
    vim-debuginfo-9.0.2153-1.amzn2023.aarch64
    vim-minimal-debuginfo-9.0.2153-1.amzn2023.aarch64
    xxd-debuginfo-9.0.2153-1.amzn2023.aarch64
    vim-debugsource-9.0.2153-1.amzn2023.aarch64
    vim-common-9.0.2153-1.amzn2023.aarch64

noarch:
    vim-default-editor-9.0.2153-1.amzn2023.noarch
    vim-filesystem-9.0.2153-1.amzn2023.noarch
    vim-data-9.0.2153-1.amzn2023.noarch

src:
    vim-9.0.2153-1.amzn2023.src

x86_64:
    vim-enhanced-debuginfo-9.0.2153-1.amzn2023.x86_64
    xxd-9.0.2153-1.amzn2023.x86_64
    vim-minimal-9.0.2153-1.amzn2023.x86_64
    xxd-debuginfo-9.0.2153-1.amzn2023.x86_64
    vim-debuginfo-9.0.2153-1.amzn2023.x86_64
    vim-enhanced-9.0.2153-1.amzn2023.x86_64
    vim-minimal-debuginfo-9.0.2153-1.amzn2023.x86_64
    vim-debugsource-9.0.2153-1.amzn2023.x86_64
    vim-common-9.0.2153-1.amzn2023.x86_64