Vulnerability in Rpm
CVE-2021-35939
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 44.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rpm
- Red Hat Enterprise Linux — versions 8.0
- Rpm — versions Fixed in RPM-v4.18
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- rpm.org/wiki/Releases/4.18.0 (Release Notes, Vendor Advisory)
- github.com/rpm-software-management/rpm/pull/1919 (Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6… (Patch, Third Party Advisory)
- access.redhat.com/security/cve/CVE-2021-35939 (Third Party Advisory)
- GLSA-202210-22 (vendor-advisory, Third Party Advisory)