Skip to content

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 anot...

MediumCVSS 6.7 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

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.

Upgrade path

22 packages: 12 fixed, 9 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rpm(Ubuntu 22.04) = 4.16.1.2+dfsg1-3ubuntu1; = 4.16.1.2+dfsg1-3ubuntu3; = 4.17.0+dfsg1-1; = 4.17.0+dfsg1-3 +3 more No fix listed No fix yet
ubuntu/rpm(Ubuntu 24.04) = 4.18.0+dfsg-1build1; = 4.18.0+dfsg-1build2; = 4.18.2+dfsg-1; = 4.18.2+dfsg-2 +3 more No fix listed No fix yet
ubuntu/rpm(Ubuntu 25.10) = 4.20.1+dfsg-1; = 4.20.1+dfsg-2; = 4.20.1+dfsg-2build1; = 4.20.1+dfsg-3 +1 more No fix listed No fix yet
ubuntu/rpm(Ubuntu 26.04) = 4.20.1+dfsg-3; = 6.0.0-2; = 6.0.1-1; = 6.0.1-1build1 +1 more No fix listed No fix yet
ubuntu/rpm(Ubuntu 26.10) = 6.0.1-1build1; = 6.1.0-1; All versions No fix listed No fix yet
ubuntu/rpm(Ubuntu Pro 14.04) = 4.11.1-2; = 4.11.1-3; = 4.11.1-3ubuntu0.1; = 4.11.1-3ubuntu0.1+esm1 +1 more No fix listed No fix yet
ubuntu/rpm(Ubuntu Pro 16.04) = 4.12.0.1+dfsg1-3build2; = 4.12.0.1+dfsg1-3build3; = 4.12.0.1+dfsg1-3ubuntu0.1~esm1; All versions No fix listed No fix yet
ubuntu/rpm(Ubuntu Pro 18.04) = 4.12.0.2+dfsg1-2build2; = 4.14.0+dfsg1-2; = 4.14.1+dfsg1-2; = 4.14.1+dfsg1-2ubuntu0.1~esm1 +1 more No fix listed No fix yet
ubuntu/rpm(Ubuntu Pro 20.04) = 4.14.2.1+dfsg1-1; = 4.14.2.1+dfsg1-1build1; = 4.14.2.1+dfsg1-1build2; = 4.14.2.1+dfsg1-1ubuntu0.1~esm1 +1 more No fix listed No fix yet
alpine/rpm(Alpine v3.17) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.18) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.19) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.20) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.21) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.22) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.23) < 4.18.0-r0 4.18.0-r0 Fixed
alpine/rpm(Alpine v3.24) < 4.18.0-r0 4.18.0-r0 Fixed
debian/rpm(Debian 12) < 4.18.0+dfsg-1 4.18.0+dfsg-1 Fixed
debian/rpm(Debian 13) < 4.18.0+dfsg-1 4.18.0+dfsg-1 Fixed
debian/rpm(Debian 14) < 4.18.0+dfsg-1 4.18.0+dfsg-1 Fixed
rpm < 4.18 4.18 Fixed
redhat enterprise linux = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/rpm(Debian:12) < 4.18.0+dfsg-1 4.18.0+dfsg-1
debian/rpm(Debian:13) < 4.18.0+dfsg-1 4.18.0+dfsg-1
debian/rpm(Debian:14) < 4.18.0+dfsg-1 4.18.0+dfsg-1
ubuntu/rpm(Ubuntu:22.04) All versions No fix listed
rpm < 4.18 4.18
redhat enterprise linux = 8.0 No fix listed
alpine/rpm(Alpine:v3.17) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.18) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.19) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.20) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.21) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.22) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.23) < 4.18.0-r0 4.18.0-r0
alpine/rpm(Alpine:v3.24) < 4.18.0-r0 4.18.0-r0
ubuntu/rpm(Ubuntu:24.04) All versions No fix listed
ubuntu/rpm(Ubuntu:26.04) All versions No fix listed
ubuntu/rpm(Ubuntu:26.10) All versions No fix listed
ubuntu/rpm(Ubuntu:Pro:14.04) All versions No fix listed
ubuntu/rpm(Ubuntu:Pro:14.04) = 4.11.1-2 No fix listed
ubuntu/rpm(Ubuntu:Pro:14.04) = 4.11.1-3 No fix listed
ubuntu/rpm(Ubuntu:Pro:14.04) = 4.11.1-3ubuntu0.1 No fix listed
ubuntu/rpm(Ubuntu:Pro:14.04) = 4.11.1-3ubuntu0.1+esm1 No fix listed
ubuntu/rpm(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/rpm(Ubuntu:Pro:16.04) = 4.12.0.1+dfsg1-3build2 No fix listed
ubuntu/rpm(Ubuntu:Pro:16.04) = 4.12.0.1+dfsg1-3build3 No fix listed
Show 34 more
ProductAffected versionsFixed in
ubuntu/rpm(Ubuntu:Pro:16.04) = 4.12.0.1+dfsg1-3ubuntu0.1~esm1 No fix listed
ubuntu/rpm(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/rpm(Ubuntu:Pro:18.04) = 4.12.0.2+dfsg1-2build2 No fix listed
ubuntu/rpm(Ubuntu:Pro:18.04) = 4.14.0+dfsg1-2 No fix listed
ubuntu/rpm(Ubuntu:Pro:18.04) = 4.14.1+dfsg1-2 No fix listed
ubuntu/rpm(Ubuntu:Pro:18.04) = 4.14.1+dfsg1-2ubuntu0.1~esm1 No fix listed
ubuntu/rpm(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/rpm(Ubuntu:Pro:20.04) = 4.14.2.1+dfsg1-1 No fix listed
ubuntu/rpm(Ubuntu:Pro:20.04) = 4.14.2.1+dfsg1-1build1 No fix listed
ubuntu/rpm(Ubuntu:Pro:20.04) = 4.14.2.1+dfsg1-1build2 No fix listed
ubuntu/rpm(Ubuntu:Pro:20.04) = 4.14.2.1+dfsg1-1ubuntu0.1~esm1 No fix listed
ubuntu/rpm(Ubuntu:22.04) = 4.16.1.2+dfsg1-3ubuntu1 No fix listed
ubuntu/rpm(Ubuntu:22.04) = 4.16.1.2+dfsg1-3ubuntu3 No fix listed
ubuntu/rpm(Ubuntu:22.04) = 4.17.0+dfsg1-1 No fix listed
ubuntu/rpm(Ubuntu:22.04) = 4.17.0+dfsg1-3 No fix listed
ubuntu/rpm(Ubuntu:22.04) = 4.17.0+dfsg1-4 No fix listed
ubuntu/rpm(Ubuntu:22.04) = 4.17.0+dfsg1-4build1 No fix listed
ubuntu/rpm(Ubuntu:24.04) = 4.18.0+dfsg-1build1 No fix listed
ubuntu/rpm(Ubuntu:24.04) = 4.18.0+dfsg-1build2 No fix listed
ubuntu/rpm(Ubuntu:24.04) = 4.18.2+dfsg-1 No fix listed
ubuntu/rpm(Ubuntu:24.04) = 4.18.2+dfsg-2 No fix listed
ubuntu/rpm(Ubuntu:24.04) = 4.18.2+dfsg-2.1build1 No fix listed
ubuntu/rpm(Ubuntu:24.04) = 4.18.2+dfsg-2.1build2 No fix listed
ubuntu/rpm(Ubuntu:25.10) All versions No fix listed
ubuntu/rpm(Ubuntu:25.10) = 4.20.1+dfsg-1 No fix listed
ubuntu/rpm(Ubuntu:25.10) = 4.20.1+dfsg-2 No fix listed
ubuntu/rpm(Ubuntu:25.10) = 4.20.1+dfsg-2build1 No fix listed
ubuntu/rpm(Ubuntu:25.10) = 4.20.1+dfsg-3 No fix listed
ubuntu/rpm(Ubuntu:26.10) = 6.0.1-1build1 No fix listed
ubuntu/rpm(Ubuntu:26.10) = 6.1.0-1 No fix listed
ubuntu/rpm(Ubuntu:26.04) = 4.20.1+dfsg-3 No fix listed
ubuntu/rpm(Ubuntu:26.04) = 6.0.0-2 No fix listed
ubuntu/rpm(Ubuntu:26.04) = 6.0.1-1 No fix listed
ubuntu/rpm(Ubuntu:26.04) = 6.0.1-1build1 No fix listed

References