Loop with Unreachable Exit Condition ('Infinite Loop') Affecting ncurses package, versions <6.0+20170827-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (70th 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-DEBIANUNSTABLE-NCURSES-367714
  • published29 Aug 2017
  • disclosed29 Aug 2017

Introduced: 29 Aug 2017

CVE-2017-13728  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:unstable ncurses to version 6.0+20170827-1 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 Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

There is an infinite loop in the next_char function in comp_scan.c in ncurses 6.0, related to libtic. A crafted input will lead to a remote denial of service attack.