Out-of-Bounds Affecting ncurses package, versions <0:6.0-8.20170212.amzn2.1.4
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Availability
High
Threat Intelligence
EPSS
0.86% (83rd
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-NCURSES-3160075
- published 7 Dec 2022
- disclosed 20 Sep 2021
Introduced: 20 Sep 2021
CVE-2021-39537 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
ncurses
to version 0:6.0-8.20170212.amzn2.1.4 or higher.
This issue was patched in ALAS2-2022-1893
.
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:2
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.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39537
- https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html
- https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html
- http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup
- https://support.apple.com/kb/HT213488
- https://support.apple.com/kb/HT213443
- https://support.apple.com/kb/HT213444
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/43
- http://seclists.org/fulldisclosure/2022/Oct/45
- https://security.netapp.com/advisory/ntap-20230427-0012/
- https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html