Cloud Foundry Logo
blog single gear
Security Advisory

USN-6154-1: Vim vulnerabilities

USN-6154-1: Vim vulnerabilities

Severity

Medium

Vendor

Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 16.04
  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04

Description

It was discovered that Vim was using uninitialized memory when fuzzy matching, which could lead to invalid memory access. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10 and Ubuntu 23.04. (CVE-2023-2426) It was discovered that Vim was not properly performing bounds checks when processing register contents, which could lead to a NULL pointer dereference. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2023-2609) It was discovered that Vim was not properly limiting the length of substitution expression strings, which could lead to excessive memory consumption. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-2610) Update Instructions: Run `sudo pro fix USN-6154-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+esm18 vim-nox-py2 – 2:7.4.1689-3ubuntu1.5+esm18 vim-gnome – 2:7.4.1689-3ubuntu1.5+esm18 vim-athena-py2 – 2:7.4.1689-3ubuntu1.5+esm18 vim-athena – 2:7.4.1689-3ubuntu1.5+esm18 vim-gtk – 2:7.4.1689-3ubuntu1.5+esm18 vim-gui-common – 2:7.4.1689-3ubuntu1.5+esm18 vim – 2:7.4.1689-3ubuntu1.5+esm18 vim-gtk3-py2 – 2:7.4.1689-3ubuntu1.5+esm18 vim-doc – 2:7.4.1689-3ubuntu1.5+esm18 vim-gtk-py2 – 2:7.4.1689-3ubuntu1.5+esm18 vim-tiny – 2:7.4.1689-3ubuntu1.5+esm18 vim-gnome-py2 – 2:7.4.1689-3ubuntu1.5+esm18 vim-gtk3 – 2:7.4.1689-3ubuntu1.5+esm18 vim-nox – 2:7.4.1689-3ubuntu1.5+esm18 vim-runtime – 2:7.4.1689-3ubuntu1.5+esm18 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

CVEs contained in this USN include: CVE-2023-2426, CVE-2023-2609, CVE-2023-2610.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions
    • All other stemcells not listed.
  • cflinuxfs4
    • All versions prior to 1.18.0
  • Jammy Stemcells
    • 1.x versions prior to 1.147
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 30.0.0, or later versions with Jammy Stemcells prior to 1.147

Mitigation

Users of affected products are strongly encouraged to follow the mitigations below.

The Cloud Foundry project recommends upgrading the following releases:

  • Bionic Stemcells
    • There are no fixed versions of this product
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • cflinuxfs4
    • Upgrade all versions to 1.18.0 or greater
  • Jammy Stemcells
    • Upgrade 1.x versions to 1.147 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • CF Deployment
    • Upgrade all versions to 30.0.0 or greater and upgrade Jammy Stemcells to 1.147 or greater

History

2023-10-12: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR

SEE ALL ARTICLES