Access Restriction Bypass Affecting github.com/go-vela/server/api package, versions >=0.7.0 <0.7.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOVELASERVERAPI-1244700
  • published11 Apr 2021
  • disclosed11 Apr 2021
  • creditJordan Sussman

Introduced: 11 Apr 2021

CVE-2021-21432  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/go-vela/server/api to version 0.7.5 or higher.

Overview

github.com/go-vela/server/api is a Package api provides the handlers for the Vela API.

Affected versions of this package are vulnerable to Access Restriction Bypass. A malicious user may be able to use the injected credentials in the ~/.netrc file in order to access secrets.

CVSS Base Scores

version 3.1