7.8
CWE
59
Advisory Published
Updated

CVE-2021-23240

First published: Tue Jan 12 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Sudo Project Sudo<1.8.32
Sudo Project Sudo>=1.9.0<1.9.5
Netapp Hci Management Node
Netapp Solidfire
Fedoraproject Fedora=32
Fedoraproject Fedora=33

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-23240?

    CVE-2021-23240 is a vulnerability in sudoedit in Sudo before 1.9.5 that allows a local unprivileged user to gain file ownership and escalate privileges.

  • How does CVE-2021-23240 affect SELinux RBAC support in permissive mode?

    CVE-2021-23240 affects SELinux RBAC support in permissive mode by allowing the user to replace a temporary file with a symlink to an arbitrary file target, gaining file ownership and escalating privileges.

  • Which versions of Sudo are affected by CVE-2021-23240?

    Versions of Sudo before 1.9.5 are affected by CVE-2021-23240.

  • Are machines without SELinux affected by CVE-2021-23240?

    Machines without SELinux are not affected by CVE-2021-23240.

  • What is the severity of CVE-2021-23240?

    CVE-2021-23240 has a severity rating of 7.8 (high).

  • What is the Common Weakness Enumeration (CWE) ID for CVE-2021-23240?

    The Common Weakness Enumeration (CWE) ID for CVE-2021-23240 is 59.

  • Where can I find more information about CVE-2021-23240?

    You can find more information about CVE-2021-23240 at the following references: [1] [2] [3]

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203