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

Ubuntu 22.04: USN-6420-1 Critical: Vim Memory Errors Exploited

ubuntu
Calendar Grey October 9, 2023
Dist Ubuntu Esm H88
Solutions for multiple vulnerabilities in Vim impacting Ubuntu 22.04, 20.04, and prior releases. Discover additional details.
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-3235, CVE-2022-3278,

CVE-2022-3297, CVE-2022-3491)

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 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04

LTS. (CVE-2022-3352, CVE-2022-4292)

It was discovered that Vim incorrectly handled memory when replacing in

virtualedit mode. An attacker could possibly use this issue to cause a

denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04

L...

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.12
  vim-athena                      2:8.2.3995-1ubuntu2.12
  vim-gtk                         2:8.2.3995-1ubuntu2.12
  vim-gtk3                        2:8.2.3995-1ubuntu2.12
  vim-nox                         2:8.2.3995-1ubuntu2.12
  vim-tiny                        2:8.2.3995-1ubuntu2.12
  xxd                             2:8.2.3995-1ubuntu2.12

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

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

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

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

References

https://ubuntu.com/security/notices/USN-6420-1

CVE-2022-3234, CVE-2022-3235, CVE-2022-3256, CVE-2022-3278,

CVE-2022-3297, CVE-2022-3324, CVE-2022-3352, CVE-2022-3491,

CVE-2022-3520, CVE-2022-3591, CVE-2022-3705, CVE-2022-4292,

CVE-2022-4293

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-6420-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