MGASA-2021-0042

Source
https://advisories.mageia.org/MGASA-2021-0042.html
Import Source
https://advisories.mageia.org/MGASA-2021-0042.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2021-0042
Related
Published
2021-01-17T16:07:01Z
Modified
2021-01-17T15:26:43Z
Summary
Updated sudo packages fix security vulnerabilities
Details

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).

selinuxeditcopy_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
Credits

Affected packages

Mageia:7 / sudo

Package

Name
sudo
Purl
pkg:rpm/mageia/sudo?distro=mageia-7

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.5-1.mga7

Ecosystem specific

{
    "section": "core"
}