ADVISORIES

GitHub Advisory Database

GHSA-gv2h-gf8m-r68j

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:

Affected packages

EcosystemPackageAffected versions
Gogithub.com/go-vela/compiler
All versions before 0.6.1 (fixed in 0.6.1)

References