CVE-2021-39537 An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
HighCVSS 8.8
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Upgrade path
23 packages: 21 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ncurses(Alpine v3.12) | < 6.2_p20200523-r1 | 6.2_p20200523-r1 | Fixed |
| alpine/ncurses(Alpine v3.13) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.14) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.15) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.16) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.17) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.18) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.19) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.20) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.21) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.22) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.23) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| alpine/ncurses(Alpine v3.24) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 | Fixed |
| debian/ncurses(Debian 12) | < 6.2+20200912-1 | 6.2+20200912-1 | Fixed |
| debian/ncurses(Debian 13) | < 6.2+20200912-1 | 6.2+20200912-1 | Fixed |
| debian/ncurses(Debian 14) | < 6.2+20200912-1 | 6.2+20200912-1 | Fixed |
| invisible-island ncurses | <= 6.2.1 | after 6.2.1 | Fixed |
| ubuntu/ncurses(Ubuntu 18.04) | < 6.1-1ubuntu1.18.04.1; = 6.0+20160625-1ubuntu1; = 6.0+20171125-1ubuntu1; = 6.1-1ubuntu1 +1 more | 6.1-1ubuntu1.18.04.1 | Fixed |
| ubuntu/ncurses(Ubuntu 20.04) | < 6.2-0ubuntu2.1; = 6.1+20190803-1ubuntu1; = 6.1+20191019-1ubuntu1; = 6.2-0ubuntu2 | 6.2-0ubuntu2.1 | Fixed |
| ubuntu/ncurses(Ubuntu Pro 14.04) | < 5.9+20140118-1ubuntu1+esm2; = 5.9+20130608-1ubuntu1; = 5.9+20131221-1ubuntu1; = 5.9+20140118-1ubuntu1 +1 more | 5.9+20140118-1ubuntu1+esm2 | Fixed |
| ubuntu/ncurses(Ubuntu Pro 16.04) | < 6.0+20160213-1ubuntu1+esm2; = 5.9+20150516-2ubuntu1; = 6.0+20151024-2ubuntu1; = 6.0+20151024-2ubuntu2 +2 more | 6.0+20160213-1ubuntu1+esm2 | Fixed |
| apple mac os x | = 10.12.6 | No fix listed | Versions listed |
| apple macos | = 11.7; = 13.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ncurses(Debian:12) | < 6.2+20200912-1 | 6.2+20200912-1 |
| debian/ncurses(Debian:13) | < 6.2+20200912-1 | 6.2+20200912-1 |
| debian/ncurses(Debian:14) | < 6.2+20200912-1 | 6.2+20200912-1 |
| alpine/ncurses(Alpine:v3.12) | < 6.2_p20200523-r1 | 6.2_p20200523-r1 |
| alpine/ncurses(Alpine:v3.13) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.14) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.15) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.16) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.17) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.18) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.19) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.20) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.21) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.22) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.23) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| alpine/ncurses(Alpine:v3.24) | < 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| invisible-island ncurses | <= 6.2.1 | No fix listed |
| apple mac os x | = 10.12.6 | No fix listed |
| apple macos | = 11.7 | No fix listed |
| apple macos | = 13.0 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:14.04) | < 5.9+20140118-1ubuntu1+esm2 | 5.9+20140118-1ubuntu1+esm2 |
| ubuntu/ncurses(Ubuntu:Pro:14.04) | = 5.9+20130608-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:14.04) | = 5.9+20131221-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:14.04) | = 5.9+20140118-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:14.04) | = 5.9+20140118-1ubuntu1+esm1 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ncurses(Ubuntu:Pro:16.04) | < 6.0+20160213-1ubuntu1+esm2 | 6.0+20160213-1ubuntu1+esm2 |
| ubuntu/ncurses(Ubuntu:Pro:16.04) | = 5.9+20150516-2ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:16.04) | = 6.0+20151024-2ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:16.04) | = 6.0+20151024-2ubuntu2 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:16.04) | = 6.0+20160213-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:Pro:16.04) | = 6.0+20160213-1ubuntu1+esm1 | No fix listed |
| ubuntu/ncurses(Ubuntu:18.04) | < 6.1-1ubuntu1.18.04.1 | 6.1-1ubuntu1.18.04.1 |
| ubuntu/ncurses(Ubuntu:18.04) | = 6.0+20160625-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:18.04) | = 6.0+20171125-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:18.04) | = 6.1-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:18.04) | = 6.1-1ubuntu1.18.04 | No fix listed |
| ubuntu/ncurses(Ubuntu:20.04) | < 6.2-0ubuntu2.1 | 6.2-0ubuntu2.1 |
| ubuntu/ncurses(Ubuntu:20.04) | = 6.1+20190803-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:20.04) | = 6.1+20191019-1ubuntu1 | No fix listed |
| ubuntu/ncurses(Ubuntu:20.04) | = 6.2-0ubuntu2 | No fix listed |
References
- Debian Security Tracker CVE-2021-39537 vendor-advisory
- security.alpinelinux.org vendor-advisory
- lists.gnu.org exploit issue-tracking mailing-list vendor-advisory
- lists.gnu.org mailing-list vendor-advisory
- cvsweb.netbsd.org patch third-party-advisory
- support.apple.com third-party-advisory
- support.apple.com third-party-advisory
- support.apple.com third-party-advisory
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list third-party-advisory
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list third-party-advisory
- 20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6 mailing-list third-party-advisory
- 20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7 mailing-list third-party-advisory
- security.netapp.com
- [debian-lts-announce] 20231203 [SECURITY] [DLA 3682-1] ncurses security update mailing-list
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2021-25894 third-party-advisory