CVE-2021-39537
Ubuntu Security Notice USN-6099-1
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Se ha detectado un problema en ncurses versiones hasta v6.2-1. La función _nc_captoinfo en el archivo captoinfo.c presenta un desbordamiento de búfer en la región heap de la memoria
It was discovered that ncurses was incorrectly performing bounds checks when processing invalid hashcodes. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS. It was discovered that ncurses was incorrectly handling end-of-string characters when processing terminfo and termcap files. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-08-23 CVE Reserved
- 2021-09-20 CVE Published
- 2024-08-04 CVE Updated
- 2024-08-04 First Exploit
- 2025-05-25 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-787: Out-of-bounds Write
CAPEC
References (12)
URL | Tag | Source |
---|---|---|
http://seclists.org/fulldisclosure/2022/Oct/28 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/41 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/43 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/45 | Mailing List |
|
https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html | Mailing List |
|
https://security.netapp.com/advisory/ntap-20230427-0012 |
|
|
https://support.apple.com/kb/HT213443 | Third Party Advisory |
|
https://support.apple.com/kb/HT213444 | Third Party Advisory |
|
https://support.apple.com/kb/HT213488 | Third Party Advisory |
|
URL | Date | SRC |
---|---|---|
https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html | 2024-08-04 |
URL | Date | SRC |
---|---|---|
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup | 2023-12-03 |
URL | Date | SRC |
---|---|---|
https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html | 2023-12-03 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Gnu Search vendor "Gnu" | Ncurses Search vendor "Gnu" for product "Ncurses" | <= 6.2.1 Search vendor "Gnu" for product "Ncurses" and version " <= 6.2.1" | - |
Affected
| ||||||
Apple Search vendor "Apple" | Mac Os X Search vendor "Apple" for product "Mac Os X" | 10.12.6 Search vendor "Apple" for product "Mac Os X" and version "10.12.6" | - |
Affected
| ||||||
Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | 11.7 Search vendor "Apple" for product "Macos" and version "11.7" | - |
Affected
| ||||||
Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | 13.0 Search vendor "Apple" for product "Macos" and version "13.0" | - |
Affected
|