CVE-2021-35939: It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented f
CVE-2021-35939 is a medium-severity flaw (CVSS 6.7) affecting rpm, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.7 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 57%) |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2022-08-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-35939?
rpm: upgrade to 4.18; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-35939 being exploited?
CVE-2021-35939 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-35939 affect?
CVE-2021-35939 affects rpm, enterprise linux. Severity is medium (CVSS 6.7). 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
How urgent is CVE-2021-35939?
Priority 44/100. Public exploit reference; On your watchlist
Related CVEs
- CVE-2021-3521 MEDIUM 4.7 UPGRADE There is a flaw in RPM's signature functionality
- CVE-2021-3421 MEDIUM 5.5 UPGRADE MITIGATE A flaw was found in the RPM package in the read functionality
- CVE-2021-35938 MEDIUM 6.7 UPGRADE MITIGATE A symbolic link issue was found in rpm
- CVE-2021-35937 MEDIUM 6.4 UPGRADE MITIGATE A race condition vulnerability was found in rpm
- CVE-2021-20271 HIGH 7.0 UPGRADE MITIGATE A flaw was found in RPM's signature check functionality when reading a package file