Improper Authorization Affecting github.com/stacklok/minder/internal package, versions <0.0.33


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (18th 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-GITHUBCOMSTACKLOKMINDERINTERNAL-6406520
  • published7 Mar 2024
  • disclosed5 Mar 2024
  • creditDon Browne

Introduced: 5 Mar 2024

CVE-2024-27916  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/stacklok/minder/internal to version 0.0.33 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization via the GetRepositoryByName, DeleteRepositoryByName, and GetArtifactByName functions. An attacker can access or delete arbitrary repositories by setting the repository owner/name to any value they want, as long as they have valid credentials and a provider. This issue arises from the database query checking by repo owner, repo name, and provider name, which are not unique to the particular user.

References

CVSS Scores

version 3.1