Out-of-bounds Write Affecting ncurses package, versions [0,6.2.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-NCURSES-2319234
  • published14 Dec 2021
  • disclosed20 Sept 2021
  • creditUnknown

Introduced: 20 Sep 2021

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

How to fix?

Upgrade ncurses to version 6.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.

References

CVSS Scores

version 3.1