All Vulnerability Reports

USN-6099-1: ncurses 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 ncurses was incorrectly performing bounds checks when processing invalid hashcodes. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-17594) It was discovered that ncurses was incorrectly handling end-of-string characters when processing terminfo and termcap files. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-17595) It was discovered that ncurses was incorrectly handling end-of-string characters when converting between termcap and terminfo formats. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-39537) It was discovered that ncurses was incorrectly performing bounds checks when dealing with corrupt terminfo data while reading a terminfo file. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-29458) It was discovered that ncurses was parsing environment variables when running with setuid applications and not properly handling the processing of malformed data when doing so. A local attacker could possibly use this issue to cause a denial of service (application crash) or execute arbitrary code. (CVE-2023-29491) Update Instructions: Run `sudo pro fix USN-6099-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libx32ncurses5 - 6.0+20160213-1ubuntu1+esm3 lib32tinfo-dev - 6.0+20160213-1ubuntu1+esm3 ncurses-examples - 6.0+20160213-1ubuntu1+esm3 lib32ncurses5-dev - 6.0+20160213-1ubuntu1+esm3 lib32ncursesw5 - 6.0+20160213-1ubuntu1+esm3 libtinfo-dev - 6.0+20160213-1ubuntu1+esm3 libncursesw5 - 6.0+20160213-1ubuntu1+esm3 libtinfo5 - 6.0+20160213-1ubuntu1+esm3 lib64tinfo5 - 6.0+20160213-1ubuntu1+esm3 lib32ncurses5 - 6.0+20160213-1ubuntu1+esm3 libncurses5-dev - 6.0+20160213-1ubuntu1+esm3 ncurses-bin - 6.0+20160213-1ubuntu1+esm3 lib64ncurses5 - 6.0+20160213-1ubuntu1+esm3 lib64ncurses5-dev - 6.0+20160213-1ubuntu1+esm3 libncurses5 - 6.0+20160213-1ubuntu1+esm3 libx32ncurses5-dev - 6.0+20160213-1ubuntu1+esm3 lib32tinfo5 - 6.0+20160213-1ubuntu1+esm3 ncurses-base - 6.0+20160213-1ubuntu1+esm3 lib32ncursesw5-dev - 6.0+20160213-1ubuntu1+esm3 ncurses-doc - 6.0+20160213-1ubuntu1+esm3 libx32ncursesw5 - 6.0+20160213-1ubuntu1+esm3 libx32ncursesw5-dev - 6.0+20160213-1ubuntu1+esm3 libx32tinfo-dev - 6.0+20160213-1ubuntu1+esm3 libx32tinfo5 - 6.0+20160213-1ubuntu1+esm3 libncursesw5-dev - 6.0+20160213-1ubuntu1+esm3 ncurses-term - 6.0+20160213-1ubuntu1+esm3 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

CVEs contained in this USN include: CVE-2019-17594, CVE-2019-17595, CVE-2021-39537, CVE-2022-29458, CVE-2023-29491

Affected VMware Products and Versions

Severity is medium unless otherwise noted.

  • Platform Automation Toolkit
    • 4.4.x versions prior to 4.4.32
    • 5.0.x versions prior to 5.0.25
    • 5.1.x versions prior to 5.1.2
  • Isolation Segment
    • 2.11.x versions prior to 2.11.34, or later versions with Xenial Stemcells prior to 621.553
    • 2.13.x versions prior to 2.13.19, or later versions with Xenial Stemcells prior to 621.553
    • 3.0.x versions prior to 3.0.12, or later versions with Jammy Stemcells prior to 1.125
    • 4.0.x versions prior to 4.0.3, or later versions with Jammy Stemcells prior to 1.125
  • Operations Manager
    • 2.10.x versions prior to 2.10.59
    • 3.0.x versions prior to 3.0.11+LTS-T
  • VMware Tanzu Application Service for VMs
    • 2.11.x versions prior to 2.11.40, or later versions with Xenial Stemcells prior to 621.553
    • 2.13.x versions prior to 2.13.22, or later versions with Xenial Stemcells prior to 621.553
    • 3.0.x versions prior to 3.0.12, or later versions with Jammy Stemcells prior to 1.125
    • 4.0.x versions prior to 4.0.3+LTS-T, or later versions with Jammy Stemcells prior to 1.125

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:

  • Platform Automation Toolkit
    • 4.4.32
    • 5.0.25
    • 5.1.2
  • Isolation Segment
    • 2.11.34, and upgrade Xenial Stemcells to 621.553 or greater
    • 2.13.19, and upgrade Xenial Stemcells to 621.553 or greater
    • 3.0.12, and upgrade Jammy Stemcells to 1.125 or greater
    • 4.0.3, and upgrade Jammy Stemcells to 1.125 or greater
  • Operations Manager
    • 2.10.59
    • 3.0.11+LTS-T
  • VMware Tanzu Application Service for VMs
    • 2.11.40, and upgrade Xenial Stemcells to 621.553 or greater
    • 2.13.22, and upgrade Xenial Stemcells to 621.553 or greater
    • 3.0.12, and upgrade Jammy Stemcells to 1.125 or greater
    • 4.0.3+LTS-T, and upgrade Jammy Stemcells to 1.125 or greater

References

History

2023-06-29: Initial vulnerability report published.