Link Following Affecting rpm package, versions <4.18.0-r0
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-ALPINE317-RPM-3143849
- published 23 Nov 2022
- disclosed 26 Aug 2022
Introduced: 26 Aug 2022
CVE-2021-35939 Open this link in a new tabHow to fix?
Upgrade Alpine:3.17
rpm
to version 4.18.0-r0 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 Alpine
.
See How to fix?
for Alpine:3.17
relevant fixed versions and status.
It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
References
- https://github.com/rpm-software-management/rpm/pull/1919
- https://bugzilla.redhat.com/show_bug.cgi?id=1964129
- https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556
- https://access.redhat.com/security/cve/CVE-2021-35939
- https://rpm.org/wiki/Releases/4.18.0
- https://security.gentoo.org/glsa/202210-22