Advisory

USN-6099-1

Also known as: CVE-2019-17594, CVE-2019-17595, CVE-2021-39537, CVE-2022-29458, CVE-2023-29491

Summary

ncurses vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2023-05-23 11:56 UTC
Modified
2026-06-29 13:50 UTC

Affected packages and fixes

ncurses

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 6.1-1ubuntu1.18.04.1 (ecosystem)

Fixed versions

6.1-1ubuntu1.18.04.1

Fix

  • Fixed version 6.1-1ubuntu1.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ncurses

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 6.2-0ubuntu2.1 (ecosystem)

Fixed versions

6.2-0ubuntu2.1

Fix

  • Fixed version 6.2-0ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ncurses

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 6.3-2ubuntu0.1 (ecosystem)

Fixed versions

6.3-2ubuntu0.1

Fix

  • Fixed version 6.3-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences