CVE-2021-35938
CVE-2021-35938
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.7 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
rpm
- Versions
- Fixed in rpm v4.18.0: Affected
No fix published
rpm Debian:12
- Affected ranges
- ECOSYSTEM: < 4.18.0+dfsg-1
Update to 4.18.0+dfsg-1
rpm Debian:13
- Affected ranges
- ECOSYSTEM: < 4.18.0+dfsg-1
Update to 4.18.0+dfsg-1
rpm Debian:14
- Affected ranges
- ECOSYSTEM: < 4.18.0+dfsg-1
Update to 4.18.0+dfsg-1
rpm Ubuntu:Pro:14.04:LTS
- Versions
- 4.11.1-2
- 4.11.1-3
- 4.11.1-3ubuntu0.1
- 4.11.1-3ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:Pro:16.04:LTS
- Versions
- 4.12.0.1+dfsg1-3build2
- 4.12.0.1+dfsg1-3build3
- 4.12.0.1+dfsg1-3ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:Pro:18.04:LTS
- Versions
- 4.12.0.2+dfsg1-2build2
- 4.14.0+dfsg1-2
- 4.14.1+dfsg1-2
- 4.14.1+dfsg1-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:Pro:20.04:LTS
- Versions
- 4.14.2.1+dfsg1-1
- 4.14.2.1+dfsg1-1build1
- 4.14.2.1+dfsg1-1build2
- 4.14.2.1+dfsg1-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:22.04:LTS
- Versions
- 4.16.1.2+dfsg1-3ubuntu1
- 4.16.1.2+dfsg1-3ubuntu3
- 4.17.0+dfsg1-1
- 4.17.0+dfsg1-3
- 4.17.0+dfsg1-4
- 4.17.0+dfsg1-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:24.04:LTS
- Versions
- 4.18.0+dfsg-1build1
- 4.18.0+dfsg-1build2
- 4.18.2+dfsg-1
- 4.18.2+dfsg-2
- 4.18.2+dfsg-2.1build1
- 4.18.2+dfsg-2.1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:25.10
- Versions
- 4.20.1+dfsg-1
- 4.20.1+dfsg-2
- 4.20.1+dfsg-2build1
- 4.20.1+dfsg-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:26.10
- Versions
- 6.0.1-1build1
- 6.1.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:26.04:LTS
- Versions
- 4.20.1+dfsg-3
- 6.0.0-2
- 6.0.1-1
- 6.0.1-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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://nvd.nist.gov/vuln/detail/CVE-2021-35938