CVE-2021-35939

Name
CVE-2021-35939
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/rpm-software-management/rpm/pull/1919
MISC https://bugzilla.redhat.com/show_bug.cgi?id=1964129
MISC https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556
MISC https://access.redhat.com/security/cve/CVE-2021-35939
MISC https://rpm.org/wiki/Releases/4.18.0

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* rpm >= None < 4.18

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
rpm 3.16-community 4.16.1.3-r3 None possibly vulnerable
rpm edge-community 4.18.0-r0 None fixed