Alpine: multiple rpm packages, py3-rpm: security update to 4.18.0-r0

medium Tenable Self-Hosted Container Security Plugin ID 406944

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

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

See Also

https://security.alpinelinux.org/vuln/CVE-2021-35937

https://security.alpinelinux.org/vuln/CVE-2021-35938

https://security.alpinelinux.org/vuln/CVE-2021-35939

Plugin Details

Severity: Medium

ID: 406944

Version: Revision 1.27

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

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

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/25/2022

Reference Information

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