# CVE-2021-35939

- Priority: **Routine**
- Reason: Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-26 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-35939, DEBIAN-CVE-2021-35939, ALPINE-CVE-2021-35939
- Record: https://cvemate.com/vulnerability/CVE-2021-35939 · JSON: https://cvemate.com/vulnerability/CVE-2021-35939/json

## Description

```text
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.
```

## Signals

- CVSS: 6.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.508%, percentile 44.943%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine rpm (Alpine Linux): \< 4.18.0-r0
- debian rpm (Debian): \< 4.18.0+dfsg-1
- ubuntu rpm (Ubuntu): All versions (No fix recorded)
- redhat enterprise\_linux: 8.0
- rpm rpm: \< 4.18

## References

- <https://rpm.org/wiki/Releases/4.18.0>
- <https://github.com/rpm-software-management/rpm/pull/1919>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1964129>
- <https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556>
- <https://access.redhat.com/security/cve/CVE-2021-35939>
- <https://security.gentoo.org/glsa/202210-22>
- <https://ubuntu.com/security/CVE-2021-35939>
- <https://www.cve.org/CVERecord?id=CVE-2021-35939>
- <https://security-tracker.debian.org/tracker/CVE-2021-35939>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-35939>
- <https://security.alpinelinux.org/vuln/CVE-2021-35939>

---

Data as of 2026-12-05T03:06:01.888Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
