cve.bz

CVE-2023-43741 buildkite elastic ci stack

7.0 highExploit referenceEPSS 0.2%Fix available

High (7.0) in buildkite elastic ci stack. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/buildkite/elastic-ci-stack-for-aws/v6 6.7.1.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-08-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/buildkite/elastic-ci-stack-for-aws/v6 (Go): fixed in 6.7.1

Ask an AI about this CVE

Show the promptExplain CVE-2023-43741 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-43741?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-43741?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-43741 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
buildkite:elastic_ci_stackbefore 5.22.5
buildkite:elastic_ci_stackfrom 6.0.0 before 6.7.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r5hg-349q-mg2qGogithub.com/buildkite/elastic-ci-stack-for-aws/v6<6.7.16.7.1
GO-2024-2440Gogithub.com/buildkite/elastic-ci-stack-for-awsall versionsno fix published
GO-2024-2440Gogithub.com/buildkite/elastic-ci-stack-for-aws/v5all versionsno fix published
GO-2024-2440Gogithub.com/buildkite/elastic-ci-stack-for-aws/v6<6.7.16.7.1

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON