AlmaLinux 9 : rpm (ALSA-2024:0463)

medium Nessus Plugin ID 189627

Synopsis

The remote AlmaLinux host is missing one or more security updates.

Description

The remote AlmaLinux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2024:0463 advisory.

- 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 affected packages.

See Also

https://errata.almalinux.org/9/ALSA-2024-0463.html

Plugin Details

Severity: Medium

ID: 189627

File Name: alma_linux_ALSA-2024-0463.nasl

Version: 1.0

Type: local

Published: 1/26/2024

Updated: 1/26/2024

Supported Sensors: 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:alma:linux:rpm, p-cpe:/a:alma:linux:rpm-apidocs, p-cpe:/a:alma:linux:rpm-build, p-cpe:/a:alma:linux:rpm-build-libs, p-cpe:/a:alma:linux:rpm-cron, p-cpe:/a:alma:linux:rpm-devel, p-cpe:/a:alma:linux:rpm-libs, p-cpe:/a:alma:linux:rpm-plugin-audit, p-cpe:/a:alma:linux:rpm-plugin-fapolicyd, p-cpe:/a:alma:linux:rpm-plugin-ima, p-cpe:/a:alma:linux:rpm-plugin-selinux, p-cpe:/a:alma:linux:rpm-plugin-syslog, p-cpe:/a:alma:linux:rpm-plugin-systemd-inhibit, p-cpe:/a:alma:linux:rpm-sign, p-cpe:/a:alma:linux:rpm-sign-libs, cpe:/o:alma:linux:9, cpe:/o:alma:linux:9::appstream, p-cpe:/a:alma:linux:python3-rpm, cpe:/o:alma:linux:9::baseos, cpe:/o:alma:linux:9::crb, cpe:/o:alma:linux:9::highavailability, cpe:/o:alma:linux:9::nfv, cpe:/o:alma:linux:9::realtime, cpe:/o:alma:linux:9::resilientstorage, cpe:/o:alma:linux:9::sap, cpe:/o:alma:linux:9::sap_hana, cpe:/o:alma:linux:9::supplementary

Required KB Items: Host/local_checks_enabled, Host/AlmaLinux/release, Host/AlmaLinux/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