Use of Externally-Controlled Format String Affecting ncurses package, versions [0,6.0-20170701)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.14% (90th 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 Learn

Learn about Use of Externally-Controlled Format String vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NCURSES-2319226
  • published14 Dec 2021
  • disclosed29 Jun 2017
  • creditUnknown

Introduced: 29 Jun 2017

CVE-2017-10685  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade ncurses to version 6.0-20170701 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Format String. In ncurses 6.0, there is a format string vulnerability in the fmt_entry function. A crafted input will lead to a remote arbitrary code execution attack.

CVSS Scores

version 3.1