# CVE-2021-35938

- 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-25 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-35938, DEBIAN-CVE-2021-35938, ALPINE-CVE-2021-35938
- Record: https://cvemate.com/vulnerability/CVE-2021-35938 · JSON: https://cvemate.com/vulnerability/CVE-2021-35938/json

## Description

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

## 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.519%, percentile 45.632%, 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 \| All versions (No fix recorded) \| \< 4.18.2+dfsg-1
- ubuntu rpm (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 34
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- rpm rpm: \< 4.18.0

## References

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

---

Data as of 2026-12-05T04:23:05.635Z. 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
