Out-of-Bounds Affecting ncurses package, versions <0:6.2-4.20200222.amzn2023.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.46% (76th 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 IDSNYK-AMZN2023-NCURSES-3340398
  • published6 Mar 2023
  • disclosed20 Sept 2021

Introduced: 20 Sep 2021

CVE-2021-39537  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 ncurses to version 0:6.2-4.20200222.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2023-023.

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:2023 relevant fixed versions and status.

An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.

CVSS Base Scores

version 3.1