RHEL 8 : rpm (RHSA-2024:0647)

medium Nessus Plugin ID 189905

Synopsis

The remote Red Hat host is missing one or more security updates for rpm.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2024:0647 advisory.

The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages.

Security Fix(es):

* rpm: TOCTOU race in checks for unsafe symlinks (CVE-2021-35937)

* rpm: races with chown/chmod/capabilities calls during installation (CVE-2021-35938)

* rpm: checks for unsafe symlinks are not performed for intermediary directories (CVE-2021-35939)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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 RHEL rpm package based on the guidance in RHSA-2024:0647.

See Also

http://www.nessus.org/u?9b067b61

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1964114

https://bugzilla.redhat.com/show_bug.cgi?id=1964125

https://bugzilla.redhat.com/show_bug.cgi?id=1964129

https://access.redhat.com/errata/RHSA-2024:0647

Plugin Details

Severity: Medium

ID: 189905

File Name: redhat-RHSA-2024-0647.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/1/2024

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Moderate

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:redhat:enterprise_linux:rpm, p-cpe:/a:redhat:enterprise_linux:rpm-devel, p-cpe:/a:redhat:enterprise_linux:rpm-build, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-selinux, p-cpe:/a:redhat:enterprise_linux:python3-rpm, p-cpe:/a:redhat:enterprise_linux:rpm-cron, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-prioreset, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-syslog, p-cpe:/a:redhat:enterprise_linux:rpm-build-libs, p-cpe:/a:redhat:enterprise_linux:rpm-libs, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-systemd-inhibit, p-cpe:/a:redhat:enterprise_linux:rpm-sign, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-fapolicyd, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-ima, p-cpe:/a:redhat:enterprise_linux:rpm-apidocs, cpe:/o:redhat:enterprise_linux:8

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/1/2024

Vulnerability Publication Date: 8/25/2022

Reference Information

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

CWE: 367, 59

RHSA: 2024:0647