Information Exposure Affecting github.com/go-vela/compiler/template/native package, versions >=0.1.0 <0.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOVELACOMPILERTEMPLATENATIVE-1055439
  • published5 Jan 2021
  • disclosed5 Jan 2021
  • creditMatthew Fevold, David May

Introduced: 5 Jan 2021

CVE-2020-26294  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade github.com/go-vela/compiler/template/native to version 0.6.1 or higher.

Overview

github.com/go-vela/compiler/template/native is a provides the ability for Vela to render a templated yaml configuration into an executable pipeline.

Affected versions of this package are vulnerable to Information Exposure. An attacker can use Sprig's env function to retrieve server configuration information set in the Vela server.

References

CVSS Base Scores

version 3.1