Alerts This Week
Warning Icon 1 560
Alerts This Week
Warning Icon 1 560

Mageia 7 MGASA-2021-0042 Moderate: Sudo Local Escalation Threat

mageia
Calendar Grey January 17, 2021
Dist Mageia Esm H88
Fedora's FEDORA-2021-0055 upgrades glibc to mitigate risks posed by buffer overflow exploits that can lead to arbitrary code execution.
The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacin...

Summary

The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path. (CVE-2021-23239).
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. (CVE-2021-23240).

References

- https://bugs.mageia.org/show_bug.cgi?id=28067

- https://www.openwall.com/lists/oss-security/2021/01/11/2

- - https://www.cve.org/CVERecord?id=CVE-2021-23239

- https://www.cve.org/CVERecord?id=CVE-2021-23240

Resolution

SRPMS

- 7/core/sudo-1.9.5-1.mga7

Publication date: 17 Jan 2021
URL: https://advisories.mageia.org/MGASA-2021-0042.html
Type: security
CVE: CVE-2021-23239, CVE-2021-23240

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here