Null pointer dereference in ncurses - CVE-2018-19211

 

Null pointer dereference in ncurses - CVE-2018-19211

Published: November 17, 2018 / Updated: October 25, 2023


Vulnerability identifier: #VU15935
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-19211
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The 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.


Affected software

ncurses
Isolation Segment
VMware Tanzu Application Service for VMs
Tanzu Greenplum for Kubernetes
VMware Tanzu Operations Manager
Ubuntu
Opensuse
libtinfo5 (Ubuntu package)
ncurses-bin (Ubuntu package)
libncurses5 (Ubuntu package)

How to mitigate CVE-2018-19211

Install update from vendor's website.

ncurses - update to 6.1.20180414
Tanzu Greenplum for Kubernetes - update to 2.0.0
VMware Tanzu Operations Manager - addressed in versions 2.9.41, 2.10.44
libtinfo5 (Ubuntu package) - update to 6.0+201602131ubuntu1+esm2
ncurses-bin (Ubuntu package) - update to 6.0+201602131ubuntu1+esm2
libncurses5 (Ubuntu package) - update to 6.0+201602131ubuntu1+esm2

External References

Related Security Bulletins