All Vulnerability Reports

USN-5458-1: Vim vulnerabilities


Severity

Medium

Vendor

VMware Tanzu

Versions Affected

  • Canonical Ubuntu 16.04

Description

It was discovered that Vim was incorrectly handling virtual column position operations, which could result in an out-of-bounds read. An attacker could possibly use this issue to expose sensitive information. (CVE-2021-4193) It was discovered that Vim was not properly performing bounds checks when updating windows present on a screen, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0213) It was discovered that Vim was incorrectly handling window exchanging operations when in Visual mode, which could result in an out-of-bounds read. An attacker could possibly use this issue to expose sensitive information. (CVE-2022-0319) It was discovered that Vim was incorrectly handling recursion when parsing conditional expressions. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0351) It was discovered that Vim was not properly handling memory allocation when processing data in Ex mode, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0359) It was discovered that Vim was not properly performing bounds checks when executing line operations in Visual mode, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0361, CVE-2022-0368) It was discovered that Vim was not properly handling loop conditions when looking for spell suggestions, which could result in a stack buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0408) It was discovered that Vim was incorrectly handling memory access when executing buffer operations, which could result in the usage of freed memory. An attacker could possibly use this issue to execute arbitrary code. (CVE-2022-0443) Update Instructions: Run `sudo ua fix USN-5458-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: vim-common - 2:7.4.1689-3ubuntu1.5+esm5 vim-nox-py2 - 2:7.4.1689-3ubuntu1.5+esm5 vim-gnome - 2:7.4.1689-3ubuntu1.5+esm5 vim-athena-py2 - 2:7.4.1689-3ubuntu1.5+esm5 vim-athena - 2:7.4.1689-3ubuntu1.5+esm5 vim-gtk - 2:7.4.1689-3ubuntu1.5+esm5 vim-gui-common - 2:7.4.1689-3ubuntu1.5+esm5 vim - 2:7.4.1689-3ubuntu1.5+esm5 vim-gtk3-py2 - 2:7.4.1689-3ubuntu1.5+esm5 vim-doc - 2:7.4.1689-3ubuntu1.5+esm5 vim-gtk-py2 - 2:7.4.1689-3ubuntu1.5+esm5 vim-tiny - 2:7.4.1689-3ubuntu1.5+esm5 vim-gnome-py2 - 2:7.4.1689-3ubuntu1.5+esm5 vim-gtk3 - 2:7.4.1689-3ubuntu1.5+esm5 vim-nox - 2:7.4.1689-3ubuntu1.5+esm5 vim-runtime - 2:7.4.1689-3ubuntu1.5+esm5 Available with UA Infra or UA Desktop: https://ubuntu.com/advantage

CVEs contained in this USN include: CVE-2021-4193, CVE-2022-0213, CVE-2022-0319, CVE-2022-0351, CVE-2022-0359, CVE-2022-0361, CVE-2022-0368, CVE-2022-0408, CVE-2022-0443

Affected VMware Products and Versions

Severity is medium unless otherwise noted.

  • Tanzu Greenplum for Kubernetes
    • All versions prior to 2.0.0
  • Isolation Segment
    • 2.7.x versions with Xenial Stemcells prior to 456.273
    • 2.8.x versions with Xenial Stemcells prior to 621.251
    • 2.9.x versions with Xenial Stemcells prior to 621.251
    • 2.10.x versions with Xenial Stemcells prior to 621.251
    • 2.11.x versions with Xenial Stemcells prior to 621.251
    • 2.12.x versions with Xenial Stemcells prior to 621.251
  • Operations Manager
    • 2.9.x versions prior to 2.9.41
    • 2.10.x versions prior to 2.10.43
  • VMware Tanzu Application Service for VMs
    • 2.7.x versions with Xenial Stemcells prior to 456.273
    • 2.8.x versions with Xenial Stemcells prior to 621.251
    • 2.9.x versions with Xenial Stemcells prior to 621.251
    • 2.10.x versions with Xenial Stemcells prior to 621.251
    • 2.11.x versions with Xenial Stemcells prior to 621.251
    • 2.12.x versions with Xenial Stemcells prior to 621.251

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:

  • Tanzu Greenplum for Kubernetes
    • 2.0.0
  • Isolation Segment
    • 2.7.x: Upgrade Xenial Stemcells to 456.273 or greater
    • 2.8.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.9.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.10.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.11.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.12.x: Upgrade Xenial Stemcells to 621.251 or greater
  • Operations Manager
    • 2.9.41
    • 2.10.43
  • VMware Tanzu Application Service for VMs
    • 2.7.x: Upgrade Xenial Stemcells to 456.273 or greater
    • 2.8.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.9.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.10.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.11.x: Upgrade Xenial Stemcells to 621.251 or greater
    • 2.12.x: Upgrade Xenial Stemcells to 621.251 or greater

References

History

2022-07-25: Initial vulnerability report published.