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.
Conclusion & alert: CVE-2021-23240 is rated Exploit Available (57.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.22%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-03-30 | 3.25% | 0.22% | -3.03% |
| 2 | 2025-03-29 | 0.22% | 3.25% | +3.03% |
| 3 | 2025-03-17 | — | 0.22% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 4.4 | 2.0 | MEDIUM |
|
3.4 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-23240: 1 source package rows (sudo); 22 state rows across 11 repos (3.10-main, 3.11-main, 3.12-main, 3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 11, open 11. | https://security.alpinelinux.org/vuln/CVE-2021-23240 |
debian
|
unimportant | CVE-2021-23240 unimportant priority: Debian including 1 source packages (sudo), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-23240 |
gentoo
|
high | CVE-2021-23240: 1 GLSA(s) (202101-33), 1 atom(s) (app-admin/sudo); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-23240 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-23240 |
suse
|
high | CVE-2021-23240 severity important: SUSE including 284 source package names (1.1.1.0.1.5.424:sudo-1.8.22-4.15.1, 1.2.0.0.1.5.430:sudo-1.8.22-4.15.1, …), 366 product×package rows across 90 product lines (Container ses/6/cephcsi/cephcsi, Container ses/6/rook/ceph, … (90 product lines)): Fixed 232, Known Affected 124, Known Not Affected 10. | https://www.suse.com/security/cve/CVE-2021-23240/ |
ubuntu
|
negligible | CVE-2021-23240 negligible priority: Ubuntu including 1 source packages (sudo), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 9, ignored 3, needs-triage 3, released 1. | https://ubuntu.com/security/CVE-2021-23240 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| sudo_project | sudo | < 1.8.32 | cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* |
| sudo_project | sudo | >= 1.9.0, < 1.9.5 | cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* |
| netapp | hci_management_node | — | cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* |
| netapp | solidfire | — | cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* |
| fedoraproject | fedora | 32 | cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |