CVE-2021-23239: Race Condition

Published Jan 12, 2021
·
Updated

The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudoedit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.

Affected Software

23 affected componentsFixes available
Sudo Project Sudo<1.8.32
Sudo Project Sudo>=1.9.0<1.9.5
NetApp Cloud Backup
NetApp Hci Management Node
NetApp Solidfire
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Debian Debian Linux=10.0
alpine/sudo>=1.9.0<1.9.5p2-r0
1.9.5p2-r0
alpine/sudo>=1.9.0<1.9.5p2-r0
1.9.5p2-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0
alpine/sudo>=1.9.0<1.9.5-r0
1.9.5-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/sudo to a version that resolves this vulnerability.

    Fixed in 1.9.5p2-r0
  2. Upgrade

    Upgrade alpine/sudo to a version that resolves this vulnerability.

    Fixed in 1.9.5-r0

Event History

Jan 12, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-23239?

CVE-2021-23239 is a vulnerability in the sudoedit personality of Sudo before version 1.9.5 that may allow a local unprivileged user to perform arbitrary directory-existence tests.

2

How does CVE-2021-23239 affect Sudo?

CVE-2021-23239 affects Sudo versions before 1.9.5.

3

What is the severity of CVE-2021-23239?

CVE-2021-23239 has a severity level of Low with a score of 2.5.

4

Which software are affected by CVE-2021-23239?

Sudo versions before 1.9.5, Netapp Cloud Backup, Netapp Hci Management Node, Netapp Solidfire, Fedora 32, Fedora 33, Debian Linux 10.0 are affected by CVE-2021-23239.

5

How can the CVE-2021-23239 vulnerability be mitigated?

To mitigate the CVE-2021-23239 vulnerability, users should update their Sudo installations to version 1.9.5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203