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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.14% (89th 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-AMZN2-NCURSESDEBUGINFO-1674340
  • 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-debuginfo 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-debuginfo package and not the ncurses-debuginfo 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 Scores

version 3.1