CVE-2021-35939

NameCVE-2021-35939
DescriptionIt 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs990543

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rpm (PTS)jessie4.11.3-1.1vulnerable
stretch4.12.0.2+dfsg1-2vulnerable
buster4.14.2.1+dfsg1-1vulnerable
bullseye4.16.1.2+dfsg1-3vulnerable
bookworm4.18.0+dfsg-1+deb12u1fixed
trixie4.18.2+dfsg-2fixed
sid4.18.2+dfsg-2.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rpmsource(unstable)4.18.0+dfsg-1990543

Notes

[bullseye] - rpm <ignored> (Minor issue)
[buster] - rpm <ignored> (Minor issue)
[stretch] - rpm <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=1964129
https://github.com/rpm-software-management/rpm/pull/1919
https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556
[jessie] - rpm <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems