6.7medium
A symbolic link issue was found in rpm.
- Severity
- 6.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| RPM | Fixed in rpm v4.18.0 | CVE List |
| rpm rpm | before 4.18.0 | NVD |
| fedoraproject fedora | 34 | NVD |
| redhat enterprise_linux | 7.0, 8.0, 9.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha encontrado un problema de enlaces simbólicos en rpm. Es producido cuando rpm establece los permisos y credenciales deseados después de instalar un archivo. Un usuario local no privilegiado podría usar este fallo para cambiar el archivo original por un enlace simbólico a un archivo crítico para la seguridad y escalar sus privilegios en el sistema. La mayor amenaza de esta vulnerabilidad es para la confidencialidad e integridad de los datos, así como para la disponibilidad del sistema.
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1964114 | issue-tracking, vendor-advisory | |
| https://bugzilla.suse.com/show_bug.cgi?id=1157880 | exploit, issue-tracking, third-party-advisory | |
| https://access.redhat.com/security/cve/CVE-2021-35938 | vendor-advisory | |
| https://rpm.org/wiki/Releases/4.18.0 | release-notes | |
| https://github.com/rpm-software-management/rpm/pull/1919 | patch, third-party-advisory | |
| https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 | patch, third-party-advisory | |
| https://security.gentoo.org/glsa/202210-22 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-35938 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-35938 changed 2026-06-17 | Public domain |