Amazon Linux AMI update for ncurses



Published: 2024-08-06
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-39537
CVE-2022-29458
CWE-ID CWE-787
CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

ncurses
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds write

EUVDB-ID: #VU57577

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-39537

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.

Mitigation

Update the affected packages:

aarch64:
    ncurses-static-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-compat-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-libs-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-c++-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-compat-libs-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-c++-libs-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-debugsource-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-devel-6.2-4.20200222.amzn2023.0.3.aarch64

noarch:
    ncurses-base-6.2-4.20200222.amzn2023.0.3.noarch
    ncurses-term-6.2-4.20200222.amzn2023.0.3.noarch

src:
    ncurses-6.2-4.20200222.amzn2023.0.3.src

x86_64:
    ncurses-static-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-c++-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-compat-libs-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-c++-libs-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-compat-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-libs-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-debugsource-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-devel-6.2-4.20200222.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

ncurses: before 6.2-4.20200222

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-023.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Out-of-bounds read

EUVDB-ID: #VU64274

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-29458

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in convert_strings in tinfo/read_entry.c in the terminfo library. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages:

aarch64:
    ncurses-static-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-compat-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-libs-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-c++-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-compat-libs-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-c++-libs-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-debuginfo-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-debugsource-6.2-4.20200222.amzn2023.0.3.aarch64
    ncurses-devel-6.2-4.20200222.amzn2023.0.3.aarch64

noarch:
    ncurses-base-6.2-4.20200222.amzn2023.0.3.noarch
    ncurses-term-6.2-4.20200222.amzn2023.0.3.noarch

src:
    ncurses-6.2-4.20200222.amzn2023.0.3.src

x86_64:
    ncurses-static-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-c++-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-compat-libs-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-c++-libs-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-compat-libs-debuginfo-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-libs-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-debugsource-6.2-4.20200222.amzn2023.0.3.x86_64
    ncurses-devel-6.2-4.20200222.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

ncurses: before 6.2-4.20200222

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-023.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###