github.com/go-vela/compiler
Affected
- introduced
0, fixed0.6.1(semver)
Fixed versions
0.6.1
Fix
- Fixed version
0.6.1go get github.com/go-vela/[email protected]
Advisory
Also known as: CVE-2020-26294, GO-2022-0838
Exposure of server configuration in github.com/go-vela/server
Impact
_What kind of vulnerability is it? Who is impacted?_
Sample of template exposing server configuration using Sprig's `env` function:
metadata:
template: true
steps:
- name: sample
image: alpine:latest
commands:
# OAuth client ID for Vela <-> GitHub communication
- echo {{ env "VELA_SOURCE_CLIENT" }}
# secret used for server <-> worker communication
- echo {{ env "VELA_SECRET" }}
Patches
_Has the problem been patched? What versions should users upgrade to?_
0.6.1Additional Recommended Action(s)
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0, fixed 0.6.1 (semver)0.6.1
0.6.1go get github.com/go-vela/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0