Amazon Linux 2 : ncurses (ALAS-2024-2412)

medium Nessus Plugin ID 187824

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of ncurses installed on the remote host is prior to 6.0-8.20170212. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2024-2412 advisory.

- There is a heap-based buffer over-read in the _nc_find_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012. (CVE-2019-17594)

- There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012. (CVE-2019-17595)

- Buffer Overflow vulnerability in one_one_mapping function in progs/dump_entry.c:1373 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command. (CVE-2020-19185)

- Buffer Overflow vulnerability in _nc_find_entry function in tinfo/comp_hash.c:66 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command. (CVE-2020-19186)

- Buffer Overflow vulnerability in fmt_entry function in progs/dump_entry.c:1100 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command. (CVE-2020-19187)

- Buffer Overflow vulnerability in fmt_entry function in progs/dump_entry.c:1116 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command. (CVE-2020-19188)

- Buffer Overflow vulnerability in postprocess_terminfo function in tinfo/parse_entry.c:997 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command. (CVE-2020-19189)

- Buffer Overflow vulnerability in _nc_find_entry in tinfo/comp_hash.c:70 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command. (CVE-2020-19190)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update ncurses' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2412.html

https://alas.aws.amazon.com/cve/html/CVE-2019-17594.html

https://alas.aws.amazon.com/cve/html/CVE-2019-17595.html

https://alas.aws.amazon.com/cve/html/CVE-2020-19185.html

https://alas.aws.amazon.com/cve/html/CVE-2020-19186.html

https://alas.aws.amazon.com/cve/html/CVE-2020-19187.html

https://alas.aws.amazon.com/cve/html/CVE-2020-19188.html

https://alas.aws.amazon.com/cve/html/CVE-2020-19189.html

https://alas.aws.amazon.com/cve/html/CVE-2020-19190.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 187824

File Name: al2_ALAS-2024-2412.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/9/2024

Updated: 1/10/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2019-17595

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ncurses, p-cpe:/a:amazon:linux:ncurses-base, p-cpe:/a:amazon:linux:ncurses-c%2b%2b-libs, p-cpe:/a:amazon:linux:ncurses-compat-libs, p-cpe:/a:amazon:linux:ncurses-debuginfo, p-cpe:/a:amazon:linux:ncurses-devel, p-cpe:/a:amazon:linux:ncurses-libs, p-cpe:/a:amazon:linux:ncurses-static, p-cpe:/a:amazon:linux:ncurses-term, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/3/2024

Vulnerability Publication Date: 10/14/2019

Reference Information

CVE: CVE-2019-17594, CVE-2019-17595, CVE-2020-19185, CVE-2020-19186, CVE-2020-19187, CVE-2020-19188, CVE-2020-19189, CVE-2020-19190