Link Following Affecting rpm package, versions <0:4.14.3-28.el8_9
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-RPM-1967794
- published 26 Jul 2021
- disclosed 30 Jun 2021
Introduced: 30 Jun 2021
CVE-2021-35938 Open this link in a new tabHow to fix?
Upgrade Centos:8
rpm
to version 0:4.14.3-28.el8_9 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream rpm
package and not the rpm
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2021-35938
- https://bugzilla.redhat.com/show_bug.cgi?id=1964114
- https://github.com/rpm-software-management/rpm/pull/1919
- https://bugzilla.suse.com/show_bug.cgi?id=1157880
- https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033
- https://rpm.org/wiki/Releases/4.18.0
- https://security.gentoo.org/glsa/202210-22