All Vulnerability Reports

USN-6270-1: Vim vulnerabilities


Severity

Medium

Vendor

VMware Tanzu

Versions Affected

  • Canonical Ubuntu 16.04
  • 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-2182) It was discovered that Vim incorrectly handled memory when deleting buffers in diff mode. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-2208) It was discovered that Vim incorrectly handled memory access. An attacker could possibly use this issue to cause the corruption of sensitive information, a crash, or arbitrary code execution. This issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-2210) It was discovered that Vim incorrectly handled memory when using nested :source. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2231) It was discovered that Vim did not properly perform bounds checks when processing a menu item with the only modifier. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-2257) 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. (CVE-2022-2264, CVE-2022-2284, CVE-2022-2289) It was discovered that Vim did not properly perform bounds checks when going over the end of the typahead. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-2285) It was discovered that Vim did not properly perform bounds checks when reading the provided string. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-2286) It was discovered that Vim incorrectly handled memory when adding words with a control character to the internal spell word list. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-2287) Update Instructions: Run `sudo pro fix USN-6270-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.10 vim-athena - 2:8.2.3995-1ubuntu2.10 vim-tiny - 2:8.2.3995-1ubuntu2.10 vim-gtk - 2:8.2.3995-1ubuntu2.10 vim-gui-common - 2:8.2.3995-1ubuntu2.10 vim - 2:8.2.3995-1ubuntu2.10 vim-doc - 2:8.2.3995-1ubuntu2.10 xxd - 2:8.2.3995-1ubuntu2.10 vim-runtime - 2:8.2.3995-1ubuntu2.10 vim-gtk3 - 2:8.2.3995-1ubuntu2.10 vim-nox - 2:8.2.3995-1ubuntu2.10 No subscription required

CVEs contained in this USN include: CVE-2022-2182, CVE-2022-2208, CVE-2022-2210, CVE-2022-2231, CVE-2022-2257, CVE-2022-2264, CVE-2022-2284, CVE-2022-2285, CVE-2022-2286, CVE-2022-2287, CVE-2022-2289

Affected VMware Products and Versions

Severity is medium unless otherwise noted.

  • Isolation Segment
    • 2.11.x versions prior to 2.11.38, or later versions with Xenial Stemcells prior to 621.644
    • 2.13.x versions prior to 2.13.23, or later versions with Xenial Stemcells prior to 621.644
    • 3.0.x versions prior to 3.0.16, or later versions with Jammy Stemcells prior to 1.199
    • 4.0.x versions prior to 4.0.8+LTS-T, or later versions with Jammy Stemcells prior to 1.199
  • Operations Manager
    • 2.10.x versions prior to 2.10.61
    • 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, or later versions with Xenial Stemcells prior to 621.644
    • 2.13.x versions prior to 2.13.26, or later versions with Xenial Stemcells prior to 621.644
    • 3.0.x versions prior to 3.0.16, or later versions with Jammy Stemcells prior to 1.199
    • 4.0.x versions prior to 4.0.8+LTS-T, or later versions with Jammy Stemcells prior to 1.199

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, and upgrade Xenial Stemcells to 621.644 or greater
    • 2.13.23, and upgrade Xenial Stemcells to 621.644 or greater
    • 3.0.16, and upgrade Jammy Stemcells to 1.199 or greater
    • 4.0.8+LTS-T, and upgrade Jammy Stemcells to 1.199 or greater
  • Operations Manager
    • 2.10.61
    • 3.0.15+LTS-T
  • VMware Tanzu Application Service for VMs
    • 2.11.44, and upgrade Xenial Stemcells to 621.644 or greater
    • 2.13.26, and upgrade Xenial Stemcells to 621.644 or greater
    • 3.0.16, and upgrade Jammy Stemcells to 1.199 or greater
    • 4.0.8+LTS-T, and upgrade Jammy Stemcells to 1.199 or greater

References

History

2023-10-18: Initial vulnerability report published.