#VU84084 Out-of-bounds write in ncurses - CVE-2020-19186


Vulnerability identifier: #VU84084

Vulnerability risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2020-19186

CWE-ID: CWE-787

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ncurses
Universal components / Libraries / Libraries used by multiple products

Vendor: Free Software Foundation

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error within the _nc_find_entry() function in tinfo/comp_hash.c. A remote attacker can send a specially crafted command to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ncurses: before 6.2


External links
https://github.com/zjuchenyuan/fuzzpoc/blob/master/infotocap_poc2.md
https://security.netapp.com/advisory/ntap-20231006-0005/


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.


Latest bulletins with this vulnerability