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.
Published: 2021-01-12
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-10339 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.
History

No history.

Subscriptions

Fedoraproject Fedora
Netapp Hci Management Node Solidfire
Redhat Enterprise Linux
Sudo Project Sudo
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T19:05:54.546Z

Reserved: 2021-01-07T00:00:00.000Z

Link: CVE-2021-23240

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-01-12T09:15:14.107

Modified: 2024-11-21T05:51:25.970

Link: CVE-2021-23240

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-11T00:00:00Z

Links: CVE-2021-23240 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses