CVE-2021-35938
Last modified
CVE-2021-35938 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rpm | Rpm | < 4.18.0 |
| Fedoraproject | Fedora | 34 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
References
- https://access.redhat.com/security/cve/CVE-2021-35938Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1964114Issue Tracking, Vendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1157880Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033Patch, Third Party Advisory
- https://github.com/rpm-software-management/rpm/pull/1919Patch, Third Party Advisory
- https://rpm.org/wiki/Releases/4.18.0Release Notes
- https://security.gentoo.org/glsa/202210-22Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-35938Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1964114Issue Tracking, Vendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1157880Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033Patch, Third Party Advisory
- https://github.com/rpm-software-management/rpm/pull/1919Patch, Third Party Advisory
- https://rpm.org/wiki/Releases/4.18.0Release Notes
- https://security.gentoo.org/glsa/202210-22Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-35938?
How severe is CVE-2021-35938?
How do I fix CVE-2021-35938?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-3590A flaw was found in Foreman project. A credential leak was i…8.8
- CVE-2021-3591Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-3592An invalid pointer initialization issue was found in the SLi…3.8
- CVE-2021-3593An invalid pointer initialization issue was found in the SLi…3.8
- CVE-2021-35936If remote logging is not used, the worker (in the case of Ce…5.3
- CVE-2021-35937A race condition vulnerability was found in rpm. A local unp…6.4
- CVE-2021-35939It was found that the fix for CVE-2017-7500 and CVE-2017-750…6.7
- CVE-2021-3594An invalid pointer initialization issue was found in the SLi…3.8
- CVE-2021-35940An out-of-bounds array read in the apr_time_exp*() functions…7.1
- CVE-2021-35941Western Digital WD My Book Live (2.x and later) and WD My Bo…7.5
- CVE-2021-35942The wordexp function in the GNU C Library (aka glibc) throug…9.1
- CVE-2021-35943Couchbase Server 6.5.x and 6.6.x through 6.6.2 has Incorrect…9.8
Are you affected by CVE-2021-35938?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
