Security mailing lists by PureSourceCode

CVE-2021-23240

HIGH 7.8CVSS 3.1

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.

Published
12 Jan 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-59
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sudo_project sudo
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
< 1.8.32 1.8.32
NVD sudo_project sudo
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
>= 1.9.0, < 1.9.5 1.9.5
NVD netapp hci_management_node
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
(no version)
NVD netapp solidfire
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
(no version)
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Jan 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.