Skip to main content

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

CVE-2023-43741

Severity High
Score 7/10

Summary

A time-of-check-time-of-use race condition vulnerability in Buildkite Elastic CI for AWS versions prior to 5.22.5, and 6.0.x prior to 6.7.1 allows the buildkite-agent user to bypass a symbolic link check for the "PIPELINE_PATH" variable in the "fix-buildkite-agent-builds-permissions script".

  • HIGH
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

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