This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page.
View CVE-2021-23240 →
DEBIAN-CVE-2021-23240
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...
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
Debian:12
sudo
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.5-1"}]}]
Debian:13
sudo
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.5-1"}]}]
Debian:14
sudo
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.5-1"}]}]
References
- advisory security-tracker.debian.org