Out-of-bounds Write Affecting ncurses package, versions <6.0+20160213-1ubuntu1+esm2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.42% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-NCURSES-342044
  • published22 Nov 2017
  • disclosed22 Nov 2017

Introduced: 22 Nov 2017

CVE-2017-16879  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 ncurses to version 6.0+20160213-1ubuntu1+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ncurses package and not the ncurses package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.

CVSS Base Scores

version 3.1