CBL Mariner 2.0 Security Update: rpm (CVE-2021-35939)

medium Nessus Plugin ID 173569

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of rpm installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2021-35939 advisory.

- 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 this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2021-35939

Plugin Details

Severity: Medium

ID: 173569

File Name: mariner_rpm_CVE-2021-35939.nasl

Version: 1.1

Type: local

Published: 3/28/2023

Updated: 8/29/2023

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:microsoft:cbl-mariner:python3-rpm, p-cpe:/a:microsoft:cbl-mariner:rpm, p-cpe:/a:microsoft:cbl-mariner:rpm-build, p-cpe:/a:microsoft:cbl-mariner:rpm-build-libs, p-cpe:/a:microsoft:cbl-mariner:rpm-debuginfo, p-cpe:/a:microsoft:cbl-mariner:rpm-devel, p-cpe:/a:microsoft:cbl-mariner:rpm-lang, p-cpe:/a:microsoft:cbl-mariner:rpm-libs, x-cpe:/o:microsoft:cbl-mariner

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/13/2022

Vulnerability Publication Date: 8/26/2022

Reference Information

CVE: CVE-2021-35939