CVE-2021-35938
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.51% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 43.8% of scored records. A rank, not a probability.
- NVD base score
- 6.7 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-08-25 00:00Z4 YR AGO
- Last updated
- 2024-08-04 00:40Z2 YR AGO
- Reserved
- 2021-06-29
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-59Improper Link Resolution Before File Access ('Link Following')Base
- Data version
- 5.1
- Document digest
- f83fe9b7e8f10750280cccf5dd85f4b8ada95445fa1bc88ea32cfe6406407f38
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1964114
- bugzilla.suse.comhttps://bugzilla.suse.com/show_bug.cgi?id=1157880
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2021-35938
- rpm.orghttps://rpm.org/wiki/Releases/4.18.0
- github.comhttps://github.com/rpm-software-management/rpm/pull/1919
- github.comhttps://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033
- security.gentoo.orgGLSA-202210-22https://security.gentoo.org/glsa/202210-22
07 Fixed in
AlmaLinux 8
- python3-rpm Fixed in 4.14.3-28.el8_9
- rpm Fixed in 4.14.3-28.el8_9
- rpm-apidocs Fixed in 4.14.3-28.el8_9
- rpm-build Fixed in 4.14.3-28.el8_9
- rpm-build-libs Fixed in 4.14.3-28.el8_9
- rpm-cron Fixed in 4.14.3-28.el8_9
- rpm-devel Fixed in 4.14.3-28.el8_9
- rpm-libs Fixed in 4.14.3-28.el8_9
- rpm-plugin-fapolicyd Fixed in 4.14.3-28.el8_9
- rpm-plugin-ima Fixed in 4.14.3-28.el8_9
- rpm-plugin-prioreset Fixed in 4.14.3-28.el8_9
- rpm-plugin-selinux Fixed in 4.14.3-28.el8_9
- rpm-plugin-syslog Fixed in 4.14.3-28.el8_9
- rpm-plugin-systemd-inhibit Fixed in 4.14.3-28.el8_9
- rpm-sign Fixed in 4.14.3-28.el8_9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- python3-rpm Fixed in 4.16.1.3-27.el9_3
- rpm Fixed in 4.16.1.3-27.el9_3
- rpm-apidocs Fixed in 4.16.1.3-27.el9_3
- rpm-build Fixed in 4.16.1.3-27.el9_3
- rpm-build-libs Fixed in 4.16.1.3-27.el9_3
- rpm-cron Fixed in 4.16.1.3-27.el9_3
- rpm-devel Fixed in 4.16.1.3-27.el9_3
- rpm-libs Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-audit Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-fapolicyd Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-ima Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-selinux Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-syslog Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-systemd-inhibit Fixed in 4.16.1.3-27.el9_3
- rpm-sign Fixed in 4.16.1.3-27.el9_3
- rpm-sign-libs Fixed in 4.16.1.3-27.el9_3
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- python3-rpm Fixed in 4.14.3-28.el8_9
- rpm Fixed in 4.14.3-28.el8_9
- rpm-apidocs Fixed in 4.14.3-28.el8_9
- rpm-build Fixed in 4.14.3-28.el8_9
- rpm-build-libs Fixed in 4.14.3-28.el8_9
- rpm-cron Fixed in 4.14.3-28.el8_9
- rpm-devel Fixed in 4.14.3-28.el8_9
- rpm-libs Fixed in 4.14.3-28.el8_9
- rpm-plugin-fapolicyd Fixed in 4.14.3-28.el8_9
- rpm-plugin-ima Fixed in 4.14.3-28.el8_9
- rpm-plugin-prioreset Fixed in 4.14.3-28.el8_9
- rpm-plugin-selinux Fixed in 4.14.3-28.el8_9
- rpm-plugin-syslog Fixed in 4.14.3-28.el8_9
- rpm-plugin-systemd-inhibit Fixed in 4.14.3-28.el8_9
- rpm-sign Fixed in 4.14.3-28.el8_9
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- python3-rpm Fixed in 4.16.1.3-27.el9_3
- rpm Fixed in 4.16.1.3-27.el9_3
- rpm-apidocs Fixed in 4.16.1.3-27.el9_3
- rpm-build Fixed in 4.16.1.3-27.el9_3
- rpm-build-libs Fixed in 4.16.1.3-27.el9_3
- rpm-cron Fixed in 4.16.1.3-27.el9_3
- rpm-devel Fixed in 4.16.1.3-27.el9_3
- rpm-libs Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-audit Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-fapolicyd Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-ima Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-selinux Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-syslog Fixed in 4.16.1.3-27.el9_3
- rpm-plugin-systemd-inhibit Fixed in 4.16.1.3-27.el9_3
- rpm-sign Fixed in 4.16.1.3-27.el9_3
- rpm-sign-libs Fixed in 4.16.1.3-27.el9_3
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- rpm Fixed in 4.18.0+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- rpm Fixed in 4.18.0+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- rpm Fixed in 4.18.0+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- rpm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.