Use of Externally-Controlled Format String Affecting ncurses-base package, versions <0:6.0-8.20170212.amzn2.1.3


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
4.22% (91st 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-AMZN2-NCURSESBASE-1674370
  • published27 Sept 2021
  • disclosed29 Jun 2017

Introduced: 29 Jun 2017

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

How to fix?

Upgrade Amazon-Linux:2 ncurses-base to version 0:6.0-8.20170212.amzn2.1.3 or higher.
This issue was patched in ALAS2-2019-1302.

NVD Description

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

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 Base Scores

version 3.1