CVE-2021-23240

Summary

CVECVE-2021-23240
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-01-12 09:15:00 UTC
Updated2023-11-07 03:30:00 UTC
Descriptionselinux_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.

Risk And Classification

Problem Types: CWE-59

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Application Netapp Hci Management Node - All All All
Application Netapp Hci Management Node - All All All
Application Netapp Solidfire - All All All
Application Netapp Solidfire - All All All
Application Sudo Project Sudo All All All All
Application Sudo Project Sudo All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 32 Update: sudo-1.9.5p1-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
January 2021 Sudo Vulnerabilities in NetApp Products | NetApp Product Security CONFIRM security.netapp.com Third Party Advisory
[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 lists.apache.org
Pony Mail! MLIST lists.apache.org
Bug 1180685 – VUL-0: CVE-2021-23240: sudo: Possible Symlink Attack in SELinux Context in `sudoedit` MISC bugzilla.suse.com Exploit, Issue Tracking, Patch, Third Party Advisory
Sudo Stable Release CONFIRM www.sudo.ws Release Notes, Vendor Advisory
[SECURITY] Fedora 33 Update: sudo-1.9.5p1-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 33 Update: sudo-1.9.5p1-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Pony Mail! MLIST lists.apache.org
[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 lists.apache.org
sudo: Multiple vulnerabilities (GLSA 202101-33) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
[SECURITY] Fedora 32 Update: sudo-1.9.5p1-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159207 Oracle Enterprise Linux Security Update for sudo (ELSA-2021-1723)
  • 179654 Debian Security Update for sudo (CVE-2021-23240)
  • 239316 Red Hat Update for sudo (RHSA-2021:1723)
  • 377324 Alibaba Cloud Linux Security Update for sudo (ALINUX3-SA-2022:0113)
  • 500677 Alpine Linux Security Update for sudo
  • 670208 EulerOS Security Update for sudo (EulerOS-SA-2021-1707)
  • 900097 CBL-Mariner Linux Security Update for sudo 1.8.31p1
  • 902910 Common Base Linux Mariner (CBL-Mariner) Security Update for sudo (3728)
  • 940285 AlmaLinux Security Update for sudo (ALSA-2021:1723)
  • 960837 Rocky Linux Security Update for sudo (RLSA-2021:1723)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report