Alerts This Week
Warning Icon 1 758
Alerts This Week
Warning Icon 1 758

Ubuntu 22.04 LTS: USN-6302-1 Critical: Vim Memory Issues Explored

ubuntu
Calendar Grey August 21, 2023
Dist Ubuntu Esm H88
Crucial Ubuntu upgrade resolves multiple vulnerabilities in Vim, boosting overall system robustness and providing better protection against potential risks.
Several security issues were fixed in Vim.

Summary

Several security issues were fixed in Vim.

Software Description:

- vim: Vi IMproved - enhanced vi editor

Details:

It was discovered that Vim incorrectly handled memory when opening certain

files. If an attacker could trick a user into opening a specially crafted

file, it could cause Vim to crash, or possibly execute arbitrary code. This

issue only affected Ubuntu 22.04 LTS. (CVE-2022-2522, CVE-2022-2580,

CVE-2022-2817, CVE-2022-2819, CVE-2022-2862, CVE-2022-2889, CVE-2022-2982,

CVE-2022-3134)

It was discovered that Vim did not properly perform bounds checks in the

diff mode in certain situations. An attacker could possibly use this issue

to cause a denial of service. This issue only affected Ubuntu 18.04 LTS,

Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-2598)

It was discovered that Vim did not properly perform bounds checks in

certain situations. An attacker could possibly use this issue to cause a

denial of service. This issue only affected Ubuntu 22.04 LTS.

(CVE-2022-2816)

...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS:
  vim                             2:8.2.3995-1ubuntu2.11
  vim-athena                      2:8.2.3995-1ubuntu2.11
  vim-gtk                         2:8.2.3995-1ubuntu2.11
  vim-gtk3                        2:8.2.3995-1ubuntu2.11
  vim-nox                         2:8.2.3995-1ubuntu2.11
  vim-tiny                        2:8.2.3995-1ubuntu2.11
  xxd                             2:8.2.3995-1ubuntu2.11

Ubuntu 20.04 LTS:
  vim                             2:8.1.2269-1ubuntu5.17
  vim-athena                      2:8.1.2269-1ubuntu5.17
  vim-gtk                         2:8.1.2269-1ubuntu5.17
  vim-gtk3                        2:8.1.2269-1ubuntu5.17
  vim-nox                         2:8.1.2269-1ubuntu5.17
  vim-tiny                        2:8.1.2269-1ubuntu5.17
  xxd                             2:8.1.2269-1ubuntu5.17

Ubuntu 18.04 LTS (Available with Ubuntu Pro):
  vim                             2:8.0.1453-1ubuntu1.13+esm4
  vim-athena                      2:8.0.1453-1ubuntu1.13+esm4
  vim-gtk                         2:8.0.1453-1ubuntu1.13+esm4
  vim-gtk3                        2:8.0.1453-1ubuntu1.13+esm4
  vim-runtime                     2:8.0.1453-1ubuntu1.13+esm4
  vim-tiny                        2:8.0.1453-1ubuntu1.13+esm4
  xxd                             2:8.0.1453-1ubuntu1.13+esm4

Ubuntu 14.04 LTS (Available with Ubuntu Pro):
  vim                             2:7.4.052-1ubuntu3.1+esm12
  vim-athena                      2:7.4.052-1ubuntu3.1+esm12
  vim-gtk                         2:7.4.052-1ubuntu3.1+esm12
  vim-nox                         2:7.4.052-1ubuntu3.1+esm12
  vim-tiny                        2:7.4.052-1ubuntu3.1+esm12

In general, a standard system update will make all the necessary changes.

References

CVE-2022-2522, CVE-2022-2580, CVE-2022-2598, CVE-2022-2816,

CVE-2022-2817, CVE-2022-2819, CVE-2022-2862, CVE-2022-2874,

CVE-2022-2889, CVE-2022-2982, CVE-2022-3016, CVE-2022-3037,

CVE-2022-3099, CVE-2022-3134, CVE-2022-3153

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-6302-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here