USN-5477-1: ncurses vulnerabilities
14 June 2022
Several security issues were fixed in ncurses.
Releases
Packages
- ncurses - shared libraries for terminal handling (32-bit)
Details
Hosein Askari discovered that ncurses was incorrectly performing
memory management operations when dealing with long filenames while
writing structures into the file system. An attacker could possibly
use this issue to cause a denial of service or execute arbitrary
code. (CVE-2017-16879)
Chung-Yi Lin discovered that ncurses was incorrectly handling access
to invalid memory areas when parsing terminfo or termcap entries where
the use-name had invalid syntax. An attacker could possibly use this
issue to cause a denial of service. (CVE-2018-19211)
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. (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. (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. (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.
(CVE-2022-29458)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 16.04
-
libtinfo5
-
6.0+20160213-1ubuntu1+esm2
Available with Ubuntu Pro
-
ncurses-bin
-
6.0+20160213-1ubuntu1+esm2
Available with Ubuntu Pro
-
libncurses5
-
6.0+20160213-1ubuntu1+esm2
Available with Ubuntu Pro
Ubuntu 14.04
-
libtinfo5
-
5.9+20140118-1ubuntu1+esm2
Available with Ubuntu Pro
-
ncurses-bin
-
5.9+20140118-1ubuntu1+esm2
Available with Ubuntu Pro
-
libncurses5
-
5.9+20140118-1ubuntu1+esm2
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
Related notices
- USN-6099-1: libncursesw6, lib32ncurses5-dev, lib64ncurses6, lib64tinfo5, libtinfo-dev, libtinfo5, lib32ncurses-dev, lib32ncursesw6, lib32tinfo5, libx32tinfo-dev, ncurses-base, lib64ncursesw6, lib32tinfo6, libncurses5, lib32ncurses5, libx32ncursesw5-dev, libx32ncurses5, ncurses-bin, lib64ncurses5-dev, ncurses-doc, libncursesw5-dev, ncurses-term, libx32tinfo5, ncurses, libx32ncursesw5, libx32ncurses5-dev, libncurses5-dev, ncurses-examples, libncursesw5, lib64tinfo6, libncurses-dev, libncurses6, lib32tinfo-dev, lib64ncurses5, lib32ncurses6, lib64ncurses-dev, lib32ncursesw5-dev, libtinfo6, lib32ncursesw5