NULL Pointer Dereference 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
    0.22% (62nd 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 ID SNYK-AMZN2-NCURSESBASE-1674347
  • published 27 Sep 2021
  • disclosed 8 Jul 2017

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 NULL Pointer Dereference in the _nc_parse_entry function of tinfo/parse_entry.c. It could lead to a remote denial of service attack if the terminfo library code is used to process untrusted terminfo data.