RHEL 9 : rpm (RHSA-2024:0435)

medium Nessus Plugin ID 189547

Synopsis

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

Description

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

- 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)

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:0435.

See Also

http://www.nessus.org/u?4fdaec5f

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

Plugin Details

Severity: Medium

ID: 189547

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

Version: 1.1

Type: local

Agent: unix

Published: 1/25/2024

Updated: 4/28/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, 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: cpe:/o:redhat:rhel_eus:9.0, p-cpe:/a:redhat:enterprise_linux:python3-rpm, p-cpe:/a:redhat:enterprise_linux:rpm, p-cpe:/a:redhat:enterprise_linux:rpm-apidocs, p-cpe:/a:redhat:enterprise_linux:rpm-build, p-cpe:/a:redhat:enterprise_linux:rpm-build-libs, p-cpe:/a:redhat:enterprise_linux:rpm-cron, p-cpe:/a:redhat:enterprise_linux:rpm-devel, p-cpe:/a:redhat:enterprise_linux:rpm-libs, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-audit, 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-plugin-selinux, p-cpe:/a:redhat:enterprise_linux:rpm-plugin-syslog, 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-sign-libs

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: 1/25/2024

Vulnerability Publication Date: 8/25/2022

Reference Information

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

CWE: 367, 59

RHSA: 2024:0435