CentOS 9 : ncurses-6.2-12.20210508.el9

high Nessus Plugin ID 241454

Synopsis

The remote CentOS host is missing one or more security updates for ncurses.

Description

The remote CentOS Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the ncurses-6.2-12.20210508.el9 build changelog.

- ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security- relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable. (CVE-2023-29491)

- ncurses 6.3 before patch 20220416 has an out-of-bounds read and segmentation violation in convert_strings in tinfo/read_entry.c in the terminfo library. (CVE-2022-29458)

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

Solution

Update the CentOS 9 Stream ncurses package.

See Also

https://kojihub.stream.centos.org/koji/buildinfo?buildID=79534

Plugin Details

Severity: High

ID: 241454

File Name: centos9_ncurses-6_2-12_20210508_79534.nasl

Version: 1.1

Type: local

Agent: unix

Published: 7/7/2025

Updated: 7/7/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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-2022-29458

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

CVSS Score Source: CVE-2023-29491

Vulnerability Information

CPE: p-cpe:/a:centos:centos:ncurses-compat-libs, p-cpe:/a:centos:centos:ncurses-libs, cpe:/a:centos:centos:9, p-cpe:/a:centos:centos:ncurses-term, p-cpe:/a:centos:centos:ncurses-static, p-cpe:/a:centos:centos:ncurses-devel, p-cpe:/a:centos:centos:ncurses-base, p-cpe:/a:centos:centos:ncurses, p-cpe:/a:centos:centos:ncurses-c%2b%2b-libs

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/1/2025

Vulnerability Publication Date: 4/12/2022

Reference Information

CVE: CVE-2022-29458, CVE-2023-29491