CVE-2021-35938Link Following in RPM

CWE-59Link Following7 documents7 sources
Severity
6.7MEDIUMNVD
EPSS
0.1%
top 64.57%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 25
Latest updateAug 26

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.8 | Impact: 5.9

Affected Packages3 packages

NVDrpm/rpm< 4.18.0
Debianrpm/rpm< 4.18.0+dfsg-1+2
CVEListV5rpm/rpmFixed in rpm v4.18.0

Also affects: Fedora 34, Enterprise Linux 7.0, 8.0, 9.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-83gm-5269-qr3v: A symbolic link issue was found in rpm2022-08-26
OSV
CVE-2021-35938: A symbolic link issue was found in rpm2022-08-25
CVEList
CVE-2021-35938: A symbolic link issue was found in rpm2022-08-25

📋Vendor Advisories

3
Microsoft
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 2022-08-09
Red Hat
rpm: races with chown/chmod/capabilities calls during installation2021-06-30
Debian
CVE-2021-35938: rpm - A symbolic link issue was found in rpm. It occurs when rpm sets the desired perm...2021
CVE-2021-35938 — Link Following in RPM | cvebase