NULL Pointer Dereference Affecting ncurses package, versions <6.1-1ubuntu1.18.04


Severity

Recommended
low

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    0.06% (25th 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-UBUNTU1804-NCURSES-1189309
  • published 10 Sep 2020
  • disclosed 12 Nov 2018

How to fix?

Upgrade Ubuntu:18.04 ncurses to version 6.1-1ubuntu1.18.04 or higher.

NVD Description

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

In ncurses 6.1, there is a NULL pointer dereference at function _nc_parse_entry in parse_entry.c that will lead to a denial of service attack. The product proceeds to the dereference code path even after a "dubious character `*' in name or alias field" detection.