Out-of-bounds Write Affecting ncurses package, versions <6.2_p20200530-r0
Threat Intelligence
EPSS
0.84% (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-ALPINE313-NCURSES-2313020
- published 8 Dec 2021
- disclosed 20 Sep 2021
Introduced: 20 Sep 2021
CVE-2021-39537 Open this link in a new tabHow to fix?
Upgrade Alpine:3.13 ncurses to version 6.2_p20200530-r0 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 Alpine.
See How to fix? for Alpine:3.13 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://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup
- https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html
- https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html
- 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
CVSS Scores
version 3.1