CWE
362
Advisory Published
CVE Published
Updated

CVE-2015-8239: Race Condition

First published: Thu Nov 19 2015(Updated: )

A vulnerability in functionality for adding support of SHA-2 digests along with the command was found. The sudoers plugin performs this digest verification while matching rules, and later independently calls execve() to execute the binary. This results in a race condition if the digest functionality is used as suggested (in fact, the rules are matched before the user is prompted for a password, so there is not negligible time frame to replace the binary from underneath sudo). Versions affected are since 1.8.7. CVE assignment: <a href="http://seclists.org/oss-sec/2015/q4/327">http://seclists.org/oss-sec/2015/q4/327</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Sudo=1.8.8
Sudo=1.8.8-b1
Sudo=1.8.8-b2
Sudo=1.8.8-b3
Sudo=1.8.8-rc1
Sudo=1.8.9
Sudo=1.8.9-b1
Sudo=1.8.9-b2
Sudo=1.8.9-p1
Sudo=1.8.9-p2
Sudo=1.8.9-p3
Sudo=1.8.9-p4
Sudo=1.8.9-p5
Sudo=1.8.9-rc1
Sudo=1.8.9-rc2
Sudo=1.8.10
Sudo=1.8.10-b1
Sudo=1.8.10-b2
Sudo=1.8.10-b3
Sudo=1.8.10-b4
Sudo=1.8.10-p1
Sudo=1.8.10-p2
Sudo=1.8.10-p3
Sudo=1.8.10-rc1
Sudo=1.8.10-rc2
Sudo=1.8.10-rc3
Sudo=1.8.11
Sudo=1.8.11-b1
Sudo=1.8.11-b2
Sudo=1.8.11-b3
Sudo=1.8.11-b4
Sudo=1.8.11-p1
Sudo=1.8.11-p2
Sudo=1.8.11-rc1
Sudo=1.8.11-rc2
Sudo=1.8.12
Sudo=1.8.12-b1
Sudo=1.8.12-b2
Sudo=1.8.12-b3
Sudo=1.8.12-rc1
Sudo=1.8.12-rc2
Sudo=1.8.13
Sudo=1.8.13-b1
Sudo=1.8.13-b2
Sudo=1.8.13-b3
Sudo=1.8.13-b4
Sudo=1.8.13-rc1
Sudo=1.8.13-rc2
Sudo=1.8.14
Sudo=1.8.14-b1
Sudo=1.8.14-b2
Sudo=1.8.14-b3
Sudo=1.8.14-b4
Sudo=1.8.14-p1
Sudo=1.8.14-p2
Sudo=1.8.14-p3
Sudo=1.8.14-rc1
Sudo=1.8.15
Sudo=1.8.15-b1
Sudo=1.8.15-b2
Sudo=1.8.15-b3
Sudo=1.8.15-b4
Sudo=1.8.15-b5
Sudo=1.8.15-rc1
Sudo=1.8.15-rc2
Sudo=1.8.15-rc3

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 the severity of CVE-2015-8239?

    CVE-2015-8239 is considered to have a high severity due to its potential exploitation leading to privilege escalation.

  • How do I fix CVE-2015-8239?

    To fix CVE-2015-8239, you should update to a patched version of sudo, ideally version 1.8.10 or later.

  • What versions of sudo are affected by CVE-2015-8239?

    CVE-2015-8239 affects sudo versions 1.8.8 through 1.8.14, including specific build variants.

  • What is the nature of the vulnerability in CVE-2015-8239?

    CVE-2015-8239 involves a race condition in the digest verification process used in the sudoers plugin.

  • Is there a workaround for CVE-2015-8239 if I cannot update immediately?

    A potential workaround is to limit permissions for the affected binaries until an update can be applied.

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