NULL Pointer Dereference Affecting ncurses-compat-libs package, versions <0:6.0-8.20170212.amzn2.1.3


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (51st 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-NCURSESCOMPATLIBS-1674465
  • published27 Sept 2021
  • disclosed8 Jul 2017

Introduced: 8 Jul 2017

CVE-2017-11113  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ncurses-compat-libs 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-compat-libs package and not the ncurses-compat-libs 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.