CVE-2023-43741 json
Buildkite Elastic CI for AWS time-of-check-time-of-use race condition vulnerability
published 2023-12-22 2 y ago modified 2026-06-17 4 mo ago also GHSA-r5hg-349q-mg2q , GO-2024-2440 , EUVD-2023-3282
- cvss
- 7.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/buildkite/elastic-ci-stack-for-aws/v6 6.7.1
- buildkite elastic_ci_stack 5.22.5, 6.7.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/atredispartners/advisories/blob/master/ATREDIS-2023-0003.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/buildkite/elastic-ci-stack-for-aws/v6 | <6.7.1 |
6.7.1 |
| go | github.com/buildkite/elastic-ci-stack-for-aws | all versions |
no fix listed |
| go | github.com/buildkite/elastic-ci-stack-for-aws/v5 | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
-
github.com
/buildkite/elastic-ci-stack-for-aws/commit/edad0b158ea10a6647bb1c84629d93f5c3d8770e
web, patch
-
github.com
/atredispartners/advisories/blob/master/ATREDIS-2023-0003.md
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-43741
advisory
-
github.com
/buildkite/elastic-ci-stack-for-aws
package
-
github.com
/advisories/GHSA-r5hg-349q-mg2q
advisory
Sources
- CVE List CVE-2023-43741
- GitHub Advisory GHSA-r5hg-349q-mg2q
- NVD CVE-2023-43741
- OSV GO-2024-2440
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.