Skip to main content

Time-of-check Time-of-use (TOCTOU) Race Condition

CVE-2024-1729

Severity Medium
Score 5.9/10

Summary

The password check condition is vulnerable to timing attack to guess the password. This issue affects gradio versions prior to 4.19.1.

  • HIGH
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state.

Advisory Timeline

  • Published