ALAS-2022-1902


Amazon Linux 2 Security Advisory: ALAS-2022-1902
Advisory Release Date: 2022-12-01 20:32 Pacific
Advisory Updated Date: 2024-02-01 19:57 Pacific
Severity: Important

Issue Overview:

2024-02-01: CVE-2022-3591 was added to this advisory.

2024-02-01: CVE-2022-3520 was added to this advisory.

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765. (CVE-2022-3520)

Use After Free in GitHub repository vim/vim prior to 9.0.0789. (CVE-2022-3591)

A vulnerability was found in vim and classified as problematic. Affected by this issue is the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. The manipulation leads to use after free. The attack may be launched remotely. Upgrading to version 9.0.0805 is able to address this issue. The name of the patch is d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-212324. (CVE-2022-3705)


Affected Packages:

vim


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update vim to update your system.

New Packages:
aarch64:
    vim-common-9.0.828-1.amzn2.0.1.aarch64
    vim-minimal-9.0.828-1.amzn2.0.1.aarch64
    vim-enhanced-9.0.828-1.amzn2.0.1.aarch64
    vim-X11-9.0.828-1.amzn2.0.1.aarch64
    vim-debuginfo-9.0.828-1.amzn2.0.1.aarch64

i686:
    vim-common-9.0.828-1.amzn2.0.1.i686
    vim-minimal-9.0.828-1.amzn2.0.1.i686
    vim-enhanced-9.0.828-1.amzn2.0.1.i686
    vim-X11-9.0.828-1.amzn2.0.1.i686
    vim-debuginfo-9.0.828-1.amzn2.0.1.i686

noarch:
    vim-filesystem-9.0.828-1.amzn2.0.1.noarch
    vim-data-9.0.828-1.amzn2.0.1.noarch

src:
    vim-9.0.828-1.amzn2.0.1.src

x86_64:
    vim-common-9.0.828-1.amzn2.0.1.x86_64
    vim-minimal-9.0.828-1.amzn2.0.1.x86_64
    vim-enhanced-9.0.828-1.amzn2.0.1.x86_64
    vim-X11-9.0.828-1.amzn2.0.1.x86_64
    vim-debuginfo-9.0.828-1.amzn2.0.1.x86_64