CVE-2021-35939 Privilege escalation in RPM
A local unprivileged user can gain root privileges due to an incomplete directory permission check in RPM.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-35939?
CVE-2021-35939 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 26 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Weakness: CWE-59
Which versions are affected by CVE-2021-35939?
It affects 2 products.
Products include Redhat Enterprise Linux, Rpm Rpm.
How do I fix CVE-2021-35939?
Apply the vendor's patch.
Is CVE-2021-35939 being exploited?
There is no known exploitation of CVE-2021-35939 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
- CVE-2018-14667 Red Hat JBoss RichFaces Framework Expression Language Injection
- CVE-2021-20325 Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit
- CVE-2018-25011 Memory corruption in libwebp
- CVE-2018-25014 Other in libwebp
- CVE-2014-3585 Supply chain in redhat-upgrade-tool
Sources
Also known as AZL-10769, DEBIAN-CVE-2021-35939, GHSA-prgv-w33h-5m73, UBUNTU-CVE-2021-35939.