CVEvulnerability
CVE-2021-35938
6.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-08-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-59
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.
Affected configurations
• rpm rpm (< 4.18.0)
• fedoraproject fedora 34
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
• redhat enterprise linux 9.0
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://access.redhat.com/security/cve/CVE-2021-35938 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1964114 Issue Tracking, Vendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1157880 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 Patch, Third Party Advisory
- https://github.com/rpm-software-management/rpm/pull/1919 Patch, Third Party Advisory
- https://rpm.org/wiki/Releases/4.18.0 Release Notes
- https://security.gentoo.org/glsa/202210-22 Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-35938 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1964114 Issue Tracking, Vendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1157880 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 Patch, Third Party Advisory
- https://github.com/rpm-software-management/rpm/pull/1919 Patch, Third Party Advisory
- https://rpm.org/wiki/Releases/4.18.0 Release Notes
- https://security.gentoo.org/glsa/202210-22 Third Party Advisory