Unrated severityNVD Advisory· Published Jan 12, 2021· Updated Aug 3, 2024
CVE-2021-23240
CVE-2021-23240
Description
selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
34- Sudo/Sudodescription
- Range: <1.9.5
- osv-coords32 versionspkg:rpm/opensuse/sudo&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/sudo&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/sudo&distro=openSUSE%20Tumbleweedpkg:rpm/suse/sudo&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/sudo&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/sudo&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/sudo&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/sudo&distro=SUSE%20Manager%20Proxy%204.0pkg:rpm/suse/sudo&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0pkg:rpm/suse/sudo&distro=SUSE%20Manager%20Server%204.0pkg:rpm/suse/sudo&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/sudo&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/sudo&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/sudo&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 1.8.22-lp151.5.12.1+ 31 more
- (no CPE)range: < 1.8.22-lp151.5.12.1
- (no CPE)range: < 1.8.22-lp152.8.6.1
- (no CPE)range: < 1.9.7p2-1.4
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.27-4.6.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.27-4.6.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.27-4.6.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.22-4.15.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
- (no CPE)range: < 1.8.20p2-3.20.1
Patches
Vulnerability mechanics
References
8- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/mitrevendor-advisoryx_refsource_FEDORA
- security.gentoo.org/glsa/202101-33mitrevendor-advisoryx_refsource_GENTOO
- bugzilla.suse.com/show_bug.cgimitrex_refsource_MISC
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Emitremailing-listx_refsource_MLIST
- security.netapp.com/advisory/ntap-20210129-0010/mitrex_refsource_CONFIRM
- www.sudo.ws/stable.htmlmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.