Skip to content
OpenAdvisories
High ALAS2-2022-1902 3 CVEs

Important: vim security update (Amazon Linux 2)

Published Dec 1, 2022 · Updated Feb 1, 2024

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-3705: 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-3591: Use After Free in GitHub repository vim/vim prior to 9.0.0789. CVE-2022-3520: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2 vim-common 2:9.0.828-1.amzn2.0.1
Amazon Linux · 2 vim-data 2:9.0.828-1.amzn2.0.1
Amazon Linux · 2 vim-debuginfo 2:9.0.828-1.amzn2.0.1
Amazon Linux · 2 vim-enhanced 2:9.0.828-1.amzn2.0.1
Amazon Linux · 2 vim-filesystem 2:9.0.828-1.amzn2.0.1
Amazon Linux · 2 vim-minimal 2:9.0.828-1.amzn2.0.1
Amazon Linux · 2 vim-X11 2:9.0.828-1.amzn2.0.1

Vulnerabilities 3

  • High 7.8

    Heap-based Buffer Overflow in vim/vim

    Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.

  • High 7.8

    Use After Free in vim/vim

    Use After Free in GitHub repository vim/vim prior to 9.0.0789.

  • Medium 5.0

    vim autocmd quickfix.c qf_update_buffer use after free

    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. Upg…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-3520.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-3591.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-3705.html