HIGH7.8
GHSA-7c44-7j7v-w554
Buildkite Elastic CI for AWS symbolic link following vulnerability
Quick fix
GHSA-7c44-7j7v-w554 — github.com/buildkite/elastic-ci-stack-for-aws/v6: upgrade to the fixed version with the command below.
go get github.com/buildkite/elastic-ci-stack-for-aws/v6@v6.7.0Details
A symbolic link following vulnerability in Buildkite Elastic CI for AWS versions prior to 6.7.1 and 5.22.5 allows the buildkite-agent user to change ownership of arbitrary directories via the PIPELINE_PATH variable in the fix-buildkite-agent-builds-permissions script.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/buildkite/elastic-ci-stack-for-aws/v6
Introduced in:
0Fixed in: 6.7.0Fix
go get github.com/buildkite/elastic-ci-stack-for-aws/v6@v6.7.0References
- https://nvd.nist.gov/vuln/detail/CVE-2023-43116[ADVISORY]
- https://github.com/buildkite/elastic-ci-stack-for-aws/commit/8f79882b6aa18fb8fc61f10c7047d2907b7a2f69[WEB]
- https://github.com/atredispartners/advisories/blob/master/ATREDIS-2023-0003.md[WEB]
- https://github.com/buildkite/elastic-ci-stack-for-aws[PACKAGE]