USN-6302-1: Vim vulnerabilities
23761
18 October 2023
18 October 2023
CLOSED
MEDIUM
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
medium
Vendor
VMware Tanzu
Versions Affected
- Canonical Ubuntu 18.04
- Canonical Ubuntu 22.04
Description
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) It was discovered that Vim incorrectly handled memory when skipping compiled code. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2874) 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 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3016, CVE-2022-3037) It was discovered that Vim incorrectly handled memory when invalid line number on ":for" is ignored. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3099) It was discovered that Vim incorrectly handled memory when passing invalid arguments to the assert_fails() method. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-3153) Update Instructions: Run `sudo pro fix USN-6302-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: vim-common - 2:8.2.3995-1ubuntu2.11 vim-athena - 2:8.2.3995-1ubuntu2.11 xxd - 2:8.2.3995-1ubuntu2.11 vim-gtk - 2:8.2.3995-1ubuntu2.11 vim-gui-common - 2:8.2.3995-1ubuntu2.11 vim - 2:8.2.3995-1ubuntu2.11 vim-doc - 2:8.2.3995-1ubuntu2.11 vim-tiny - 2:8.2.3995-1ubuntu2.11 vim-runtime - 2:8.2.3995-1ubuntu2.11 vim-gtk3 - 2:8.2.3995-1ubuntu2.11 vim-nox - 2:8.2.3995-1ubuntu2.11 No subscription required
CVEs contained in this USN include: CVE-2022-3099, 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-3134, CVE-2022-3153
Affected VMware Products and Versions
Severity is medium unless otherwise noted.
- Isolation Segment
- 2.11.x versions prior to 2.11.38
- 2.13.x versions prior to 2.13.23
- 3.0.x versions prior to 3.0.16, or later versions with Jammy Stemcells prior to 1.222
- 4.0.x versions prior to 4.0.8+LTS-T, or later versions with Jammy Stemcells prior to 1.222
- Operations Manager
- 3.0.x versions prior to 3.0.15+LTS-T
- VMware Tanzu Application Service for VMs
- 2.11.x versions prior to 2.11.44
- 2.13.x versions prior to 2.13.26
- 3.0.x versions prior to 3.0.16, or later versions with Jammy Stemcells prior to 1.222
- 4.0.x versions prior to 4.0.8+LTS-T, or later versions with Jammy Stemcells prior to 1.222
Mitigation
Users of affected products are strongly encouraged to follow the mitigation below. On the Tanzu Network product page for each release, check the Depends On section and/or Release Notes for this information. Releases that have fixed this issue include:- Isolation Segment
- 2.11.38
- 2.13.23
- 3.0.16, and upgrade Jammy Stemcells to 1.222 or greater
- 4.0.8+LTS-T, and upgrade Jammy Stemcells to 1.222 or greater
- Operations Manager
- 3.0.15+LTS-T
- VMware Tanzu Application Service for VMs
- 2.11.44
- 2.13.26
- 3.0.16, and upgrade Jammy Stemcells to 1.222 or greater
- 4.0.8+LTS-T, and upgrade Jammy Stemcells to 1.222 or greater
References
- https://ubuntu.com/security/CVE-2022-3099
- https://ubuntu.com/security/CVE-2022-2522
- https://ubuntu.com/security/CVE-2022-2580
- https://ubuntu.com/security/CVE-2022-2598
- https://ubuntu.com/security/CVE-2022-2816
- https://ubuntu.com/security/CVE-2022-2817
- https://ubuntu.com/security/CVE-2022-2819
- https://ubuntu.com/security/CVE-2022-2862
- https://ubuntu.com/security/CVE-2022-2874
- https://ubuntu.com/security/CVE-2022-2889
- https://ubuntu.com/security/CVE-2022-2982
- https://ubuntu.com/security/CVE-2022-3016
- https://ubuntu.com/security/CVE-2022-3037
- https://ubuntu.com/security/CVE-2022-3134
- https://ubuntu.com/security/CVE-2022-3153
- https://ubuntu.com/security/notices/USN-6302-1
History
2023-10-18: Initial vulnerability report published.