GitHub Advisoryadvisory · Go

GHSA-gv2h-gf8m-r68j Exposure of server configuration in github.com/go-vela/server

HIGH Published 2022-02-15 Modified 2022-02-15 Official page ↗
Aliases
CVE-2020-26294
Ecosystem
Go
Packages
github.com/go-vela/compiler
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Weaknesses
CWE-200, CWE-78
Reviewed
2021-05-21

Affected packages

• Go github.com/go-vela/compiler: < 0.6.1 → fixed in 0.6.1

Description

Impact _What kind of vulnerability is it? Who is impacted?_ • The ability to expose configuration set in the Vela server via pipeline template functionality. • It impacts all users of Vela. Sample of template exposing server configuration using Sprig's `env` function: ```yaml 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: • Email us at [email protected]

Related

Alias · CVE (1)

  • CVE-2020-26294 Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References