Skip to main content

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

CVE-2024-39936

Severity Medium
Score 5.9/10

Summary

An issue was discovered in HTTP2 in Qt prior to 5.15.18, 6.x through 6.2.x prior to 6.2.13, 6.3.x through 6.5.x prior to 6.5.7, 6.6.x through 6.7.x prior to 6.7.3 and 6.8.x prior to 6.8.0-beta3. Code to make security-relevant decisions about an established connection may execute too early, because the "encrypted()" signal has not yet been emitted and processed.

  • 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.

References

Advisory Timeline

  • Published