Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/stacklok/minder: CVE-2024-27916 #2626

Closed
GoVulnBot opened this issue Mar 7, 2024 · 1 comment
Closed

Comments

@GoVulnBot
Copy link

CVE-2024-27916 references github.com/stacklok/minder, which may be a Go module.

Description:
Minder is a software supply chain security platform. Prior to version 0.0.33, a Minder user can use the endpoints GetRepositoryByName, DeleteRepositoryByName, and GetArtifactByName to access any repository in the database, irrespective of who owns the repo and any permissions present. The database query checks by repo owner, repo name and provider name (which is always github). These query values are not distinct for the particular user - as long as the user has valid credentials and a provider, they can set the repo owner/name to any value they want and the server will return information on this repo. Version 0.0.33 contains a patch for this issue.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/stacklok/minder
      vulnerable_at: 0.0.34
      packages:
        - package: minder
cves:
    - CVE-2024-27916
references:
    - advisory: https://github.com/stacklok/minder/security/advisories/GHSA-v627-69v2-xx37
    - fix: https://github.com/stacklok/minder/commit/45750b4e9fb2de33365758366e06c19e999bd2eb
    - web: https://github.com/stacklok/minder/blob/a115c8524fbd582b2b277eaadce024bebbded508/internal/controlplane/handlers_repositories.go#L277-L278
    - web: https://github.com/stacklok/minder/blob/main/internal/controlplane/handlers_repositories.go#L257-L299

@maceonthompson
Copy link

Duplicate of #2608

@maceonthompson maceonthompson marked this as a duplicate of #2608 Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants