Out-of-Bounds Affecting ncurses package, versions <0:6.0-8.20170212.amzn2.1.3


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 2.22% (90th percentile)
Expand this section
NVD
9.8 critical
Expand this section
Red Hat
5.3 medium

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 ID SNYK-AMZN2-NCURSES-1674361
  • published 27 Sep 2021
  • disclosed 29 Jun 2017

How to fix?

Upgrade Amazon-Linux:2 ncurses 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 package and not the ncurses 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 stack-based buffer overflow in the fmt_entry function. A crafted input will lead to a remote arbitrary code execution attack.