Advisory

GHSA-gv2h-gf8m-r68j

Also known as: CVE-2020-26294, GO-2022-0838

Summary

Exposure of server configuration in github.com/go-vela/server

Details

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?_

  • Upgrade to 0.6.1

Additional Recommended Action(s)

  • Rotate all secrets

Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_

  • No

For more information

If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-15 00:19 UTC
Modified
2026-07-08 06:00 UTC

Affected packages and fixes

github.com/go-vela/compiler

Go · All systems

Affected

  • introduced 0, fixed 0.6.1 (semver)

Fixed versions

0.6.1

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences