Advisory Published

USN-5775-1: Vim vulnerabilities

First published: Mon Dec 12 2022(Updated: )

It was discovered that Vim uses freed memory in recurisve substitution of specially crafted patterns. An attacker could possbly use this to crash Vim and cause denial of service. (CVE-2022-2345) It was discovered that Vim makes illegal memory calls when patterns start with an illegal byte. An attacker could possibly use this to crash Vim, access or modify memory, or execute arbitrary commands. (CVE-2022-2581) It was discovered that Vim could be made to crash when parsing invalid line numbers. An attacker could possbly use this to crash Vim and cause denial of service. (CVE-2022-3099) It was discovered that Vim uses freed memory when autocmd changes a mark. An attacker could possbly use this to crash Vim and cause denial of service. (CVE-2022-3256) It was discovered the Vim uses an incorrect array index when window width is negative. A local attacker could possbly use this to crash Vim and cause denial of service. (CVE-2022-3324) It was discoverd that certain buffers could be sent to the wrong window. An attacker with local access could use this to send messages to the wrong window. (CVE-2022-3591)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/vim-nox-py2<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-gnome<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-athena-py2<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-athena<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-gtk<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-gtk3-py2<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-gtk-py2<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-tiny<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-gnome-py2<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-gtk3<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04
All of
ubuntu/vim-nox<2:7.4.1689-3ubuntu1.5+esm14
2:7.4.1689-3ubuntu1.5+esm14
=16.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID for the Vim vulnerabilities?

    The vulnerability ID for the Vim vulnerabilities is CVE-2022-2345.

  • What is the severity of CVE-2022-2345?

    The severity of CVE-2022-2345 is not mentioned in the provided information.

  • How can an attacker exploit CVE-2022-2345?

    An attacker can exploit CVE-2022-2345 to crash Vim and cause denial of service by using freed memory in recursive substitution of specially crafted patterns.

  • Which versions of Vim are affected by CVE-2022-2345?

    Versions 2:7.4.1689-3ubuntu1.5+esm14 of the following Vim packages are affected: vim-nox-py2, vim-gnome, vim-athena-py2, vim-athena, vim-gtk, vim, vim-gtk3-py2, vim-gtk-py2, vim-tiny, vim-gnome-py2, vim-gtk3, vim-nox.

  • How can I fix the Vim vulnerabilities?

    To fix the Vim vulnerabilities, update to version 2:7.4.1689-3ubuntu1.5+esm14 of the affected Vim packages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203