Time-of-check Time-of-use Race Condition Affecting github.com/buildkite/elastic-ci-stack-for-aws/v5 package, versions <5.22.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMBUILDKITEELASTICCISTACKFORAWSV5-6144787
  • published5 Jan 2024
  • disclosed22 Dec 2023
  • creditNick Nam

Introduced: 22 Dec 2023

CVE-2023-43741  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade github.com/buildkite/elastic-ci-stack-for-aws/v5 to version 5.22.5 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use Race Condition via the fix-buildkite-agent-builds-permissions script. An attacker can bypass a symbolic link check for the PIPELINE_PATH variable.

References

CVSS Scores

version 3.1