CentOS 9 : rpm-4.16.1.3-26.el9

medium Nessus Plugin ID 193941

Synopsis

The remote CentOS host is missing one or more security updates for python3-rpm.

Description

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

- A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-35937)

- A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user could use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
(CVE-2021-35938)

- It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-35939)

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 python3-rpm package.

See Also

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

Plugin Details

Severity: Medium

ID: 193941

File Name: centos9_rpm-4_16_1_3-26_41133.nasl

Version: 1.0

Type: local

Agent: unix

Published: 4/26/2024

Updated: 4/26/2024

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: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2021-35939

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 6

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:rpm-apidocs, p-cpe:/a:centos:centos:rpm-plugin-ima, p-cpe:/a:centos:centos:rpm-build, p-cpe:/a:centos:centos:python3-rpm, cpe:/a:centos:centos:9, p-cpe:/a:centos:centos:rpm-plugin-selinux, p-cpe:/a:centos:centos:rpm-devel, p-cpe:/a:centos:centos:rpm-libs, p-cpe:/a:centos:centos:rpm-build-libs, p-cpe:/a:centos:centos:rpm-plugin-syslog, p-cpe:/a:centos:centos:rpm-cron, p-cpe:/a:centos:centos:rpm-plugin-systemd-inhibit, p-cpe:/a:centos:centos:rpm-plugin-prioreset, p-cpe:/a:centos:centos:rpm-sign, p-cpe:/a:centos:centos:rpm-plugin-audit, p-cpe:/a:centos:centos:rpm-sign-libs, p-cpe:/a:centos:centos:rpm, p-cpe:/a:centos:centos:rpm-plugin-fapolicyd

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: 11/21/2023

Vulnerability Publication Date: 8/25/2022

Reference Information

CVE: CVE-2021-35937, CVE-2021-35938, CVE-2021-35939