# MGASA-2021-0042

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2021-01-17 · Modified: 2026-04-16
- Record: https://cvemate.com/vulnerability/MGASA-2021-0042 · JSON: https://cvemate.com/vulnerability/MGASA-2021-0042/json

## Description

```text
Updated sudo packages fix security vulnerabilities

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

## Signals

- CVSS: none published
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mageia sudo (Mageia): \< 1.9.5-1.mga7

## References

- <https://advisories.mageia.org/MGASA-2021-0042.html>
- <https://bugs.mageia.org/show_bug.cgi?id=28067>
- <https://www.openwall.com/lists/oss-security/2021/01/11/2>
- <https://www.sudo.ws/stable.html>

---

Data as of 2026-12-05T08:48:20.963Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
