CVE-2021-35938

medium

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.

References

https://security.gentoo.org/glsa/202210-22

https://rpm.org/wiki/Releases/4.18.0

https://github.com/rpm-software-management/rpm/pull/1919

https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033

https://bugzilla.suse.com/show_bug.cgi?id=1157880

https://bugzilla.redhat.com/show_bug.cgi?id=1964114

https://access.redhat.com/security/cve/CVE-2021-35938

Details

Source: Mitre, NVD

Published: 2022-08-25

Updated: 2022-11-29

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:L/AC:L/Au:M/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.7

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Severity: Medium