CVE-2021-35938

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

History

29 Nov 2022, 18:06

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.8
v2 : unknown
v3 : 6.7
References (GENTOO) https://security.gentoo.org/glsa/202210-22 - (GENTOO) https://security.gentoo.org/glsa/202210-22 - Third Party Advisory

31 Oct 2022, 04:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202210-22 -

31 Aug 2022, 17:15

Type Values Removed Values Added
CPE cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*
First Time Fedoraproject
Rpm
Rpm rpm
Fedoraproject fedora
Redhat
Redhat enterprise Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References (MISC) https://rpm.org/wiki/Releases/4.18.0 - (MISC) https://rpm.org/wiki/Releases/4.18.0 - Release Notes
References (MISC) https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 - (MISC) https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 - Patch, Third Party Advisory
References (MISC) https://access.redhat.com/security/cve/CVE-2021-35938 - (MISC) https://access.redhat.com/security/cve/CVE-2021-35938 - Vendor Advisory
References (MISC) https://bugzilla.suse.com/show_bug.cgi?id=1157880 - (MISC) https://bugzilla.suse.com/show_bug.cgi?id=1157880 - Exploit, Issue Tracking, Third Party Advisory
References (MISC) https://github.com/rpm-software-management/rpm/pull/1919 - (MISC) https://github.com/rpm-software-management/rpm/pull/1919 - Patch, Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1964114 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1964114 - Issue Tracking, Vendor Advisory
CWE CWE-59

25 Aug 2022, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-25 20:15

Updated : 2023-12-10 14:35


NVD link : CVE-2021-35938

Mitre link : CVE-2021-35938

CVE.ORG link : CVE-2021-35938


JSON object : View

Products Affected

fedoraproject

  • fedora

redhat

  • enterprise_linux

rpm

  • rpm
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')