Vulnerability · Published Sep 20, 2021 · Assigned by mitre
CVE-2021-39537
High 8.8
In plain English
A high-severity security flaw in the ncurses package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.2% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)3.2%top 11.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | ncurses | 6.2_p20200530-r0 | ALPINE-CVE-2021-39537 |
| Alpine:v3.21 | ncurses | 6.2_p20200530-r0 | ALPINE-CVE-2021-39537 |
| Alpine:v3.22 | ncurses | 6.2_p20200530-r0 | ALPINE-CVE-2021-39537 |
| Alpine:v3.23 | ncurses | 6.2_p20200530-r0 | ALPINE-CVE-2021-39537 |
| Alpine:v3.24 | ncurses | 6.2_p20200530-r0 | ALPINE-CVE-2021-39537 |
| Debian:12 | ncurses | 6.2+20200912-1 | DEBIAN-CVE-2021-39537 |
| Debian:13 | ncurses | 6.2+20200912-1 | DEBIAN-CVE-2021-39537 |
| Debian:14 | ncurses | 6.2+20200912-1 | DEBIAN-CVE-2021-39537 |
| Ubuntu:22.04:LTS | ncurses | 6.3-2ubuntu0.1 | USN-6099-1 |
Affected products (as reported)
References
- 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/HT213443
- https://support.apple.com/kb/HT213444
- https://support.apple.com/kb/HT213488
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6 mailing-list
- 20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7 mailing-list
- https://security.netapp.com/advisory/ntap-20230427-0012/
- [debian-lts-announce] 20231203 [SECURITY] [DLA 3682-1] ncurses security update mailing-list