CVE Vulnerabilities

CVE-2023-43741

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

Published: Dec 22, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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

Weakness

The product 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.

Affected Software

Name Vendor Start Version End Version
Elastic_ci_stack Buildkite * 5.22.5 (excluding)
Elastic_ci_stack Buildkite 6.0.0 (including) 6.7.1 (excluding)

Potential Mitigations

References