Risk | High |
Patch available | YES |
Number of vulnerabilities | 6 |
CVE-ID | CVE-2017-16879 CVE-2018-19211 CVE-2019-17594 CVE-2019-17595 CVE-2021-39537 CVE-2022-29458 |
CWE-ID | CWE-121 CWE-476 CWE-122 CWE-126 CWE-787 CWE-125 |
Exploitation vector | Network |
Public exploit |
Public exploit code for vulnerability #2 is available. Public exploit code for vulnerability #3 is available. Public exploit code for vulnerability #4 is available. |
Vulnerable software Subscribe |
Ubuntu Operating systems & Components / Operating system libncurses5 (Ubuntu package) Operating systems & Components / Operating system package or component ncurses-bin (Ubuntu package) Operating systems & Components / Operating system package or component libtinfo5 (Ubuntu package) Operating systems & Components / Operating system package or component |
Vendor | Canonical Ltd. |
Security Bulletin
This security bulletin contains information about 6 vulnerabilities.
EUVDB-ID: #VU12202
Risk: High
CVSSv3.1: 8.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID: CVE-2017-16879
CWE-ID:
CWE-121 - Stack-based buffer overflow
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The weakness exists in the _nc_write_entry function in tinfo/write_entry.c due to stac-based buffer overflow. A remote attacker can submit a specially crafted terminfo file, as demonstrated by tic, trick the victim into opening it, trigger memory corruption and cause the service to crash or execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Update the affected package ncurses to the latest version.
Vulnerable software versionsUbuntu: 14.04 - 16.04
libncurses5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package): before 6.0+201602131ubuntu1+esm2
libtinfo5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
External linkshttp://ubuntu.com/security/notices/USN-5477-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.
EUVDB-ID: #VU15935
Risk: Low
CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]
CVE-ID: CVE-2018-19211
CWE-ID:
CWE-476 - NULL Pointer Dereference
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to NULL pointer dereference condition in the _nc_write_entry function when handling maliciou input. A remote attacker can trick the victim into opening a specially crafted file that submits malicious input, trigger a NULL pointer dereference condition and cause the service to crash.
MitigationUpdate the affected package ncurses to the latest version.
Vulnerable software versionsUbuntu: 14.04 - 16.04
libncurses5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package): before 6.0+201602131ubuntu1+esm2
libtinfo5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
External linkshttp://ubuntu.com/security/notices/USN-5477-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.
EUVDB-ID: #VU21792
Risk: High
CVSSv3.1: 7.3 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]
CVE-ID: CVE-2019-17594
CWE-ID:
CWE-122 - Heap-based Buffer Overflow
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the "_nc_find_entry" function in "tinfo/comp_hash.c" in the terminfo library. A remote attacker can trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
MitigationUpdate the affected package ncurses to the latest version.
Vulnerable software versionsUbuntu: 14.04 - 16.04
libncurses5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package): before 6.0+201602131ubuntu1+esm2
libtinfo5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
External linkshttp://ubuntu.com/security/notices/USN-5477-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.
EUVDB-ID: #VU21793
Risk: Medium
CVSSv3.1: 4.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C]
CVE-ID: CVE-2019-17595
CWE-ID:
CWE-126 - Buffer over-read
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to heap-based buffer over-read issue in the "fmt_entry" function in "tinfo/comp_hash.c" in the terminfo library. A remote attacker can trigger a buffer over-read condition and cause a denial of service condition on the target system.Update the affected package ncurses to the latest version.
Vulnerable software versionsUbuntu: 14.04 - 16.04
libncurses5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package): before 6.0+201602131ubuntu1+esm2
libtinfo5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
External linkshttp://ubuntu.com/security/notices/USN-5477-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.
EUVDB-ID: #VU57577
Risk: High
CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID: CVE-2021-39537
CWE-ID:
CWE-787 - Out-of-bounds write
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.
MitigationUpdate the affected package ncurses to the latest version.
Vulnerable software versionsUbuntu: 14.04 - 16.04
libncurses5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package): before 6.0+201602131ubuntu1+esm2
libtinfo5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
External linkshttp://ubuntu.com/security/notices/USN-5477-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.
EUVDB-ID: #VU64274
Risk: Medium
CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L/E:U/RL:O/RC:C]
CVE-ID: CVE-2022-29458
CWE-ID:
CWE-125 - Out-of-bounds read
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition in convert_strings in tinfo/read_entry.c in the terminfo library. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.
MitigationUpdate the affected package ncurses to the latest version.
Vulnerable software versionsUbuntu: 14.04 - 16.04
libncurses5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package): before 6.0+201602131ubuntu1+esm2
libtinfo5 (Ubuntu package): before 6.0+201602131ubuntu1+esm2
External linkshttp://ubuntu.com/security/notices/USN-5477-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.