Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-23240 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23240 CVEExploitIssue TrackingPatchThird Party Advisory
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E CVE
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E CVE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/ CVE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/ CVE

see all 16 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-59Improper Link Resolution Before File Access ('Link Following')[email protected]

Affected Products

ProductVersions
sudo project sudo
< 1.8.32
>= 1.9.0, < 1.9.5

CPE

  • cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
netapp hci management node
All versions

CPE

  • cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
netapp solidfire
All versions

CPE

  • cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
32
33

CPE

  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

14 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-23240
NVD Published Date:
Jan 12, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]