CVE-2021-23239
Last modified
CVE-2021-23239 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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.. EPSS estimates a 1.03% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sudo Project | Sudo | < 1.8.32 |
| Sudo Project | Sudo | >= 1.9.0, < 1.9.5 |
| Netapp | Cloud Backup | All versions |
| Netapp | Hci Management Node | All versions |
| Netapp | Solidfire | All versions |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Debian | Debian Linux | 10.0 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00007.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202101-33Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210129-0010/Third Party Advisory
- https://www.sudo.ws/stable.html#1.9.5Release Notes, Vendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00007.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202101-33Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210129-0010/Third Party Advisory
- https://www.sudo.ws/stable.html#1.9.5Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23239?
How severe is CVE-2021-23239?
How do I fix CVE-2021-23239?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23228DIAEnergie Version 1.7.5 and prior is vulnerable to a reflec…6.1
- CVE-2021-2323Vulnerability in the Oracle FLEXCUBE Universal Banking produ…5.9
- CVE-2021-23230A SQL Injection vulnerability in the OPCUA interface of Gall…4.3
- CVE-2021-23232Rejected reason: This candidate was in a CNA pool that was n…
- CVE-2021-23233Sensitive endpoints in Fresenius Kabi Agilia Link+ v3.0 and …9.8
- CVE-2021-23236Requests may be used to interrupt the normal operation of th…7.5
- CVE-2021-2324Vulnerability in the Oracle FLEXCUBE Universal Banking produ…4.6
- CVE-2021-23240selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 al…7.8
- CVE-2021-23241MERCUSYS Mercury X18G 1.0.5 devices allow Directory Traversa…5.3
- CVE-2021-23242MERCUSYS Mercury X18G 1.0.5 devices allow Directory Traversa…5.3
- CVE-2021-23243In Oppo's battery application, the third-party SDK provides …7.8
- CVE-2021-23244ColorOS pregrant dangerous permissions to apps which are lis…7.8
Are you affected by CVE-2021-23239?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
