#VU12110 Stack-based buffer overflow in ncurses


Published: 2018-04-20 | Updated: 2018-04-23

Vulnerability identifier: #VU12110

Vulnerability risk: High

CVSSv3.1: 8.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-10684

CWE-ID: CWE-121

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 execute arbitrary code on the target system.

The vulnerability exists in the fmt_entry function of ncurses due to stack-based buffer overflow when handling malicious input. A remote unauthenticated attacker can send a request that submits malicious input, trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Update to version 6.1.

Vulnerable software versions

ncurses: 6.0


External links
http://invisible-island.net/ncurses/NEWS.html#t20170701


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