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: GHSA-hpcg-xjq5-g666 #2934

Closed
GoVulnBot opened this issue Jun 18, 2024 · 1 comment
Assignees
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-hpcg-xjq5-g666 references a vulnerability in the following Go modules:

Module
github.com/stacklok/minder

Description:
Minder's Git provider is vulnerable to a denial of service from a maliciously
configured GitHub repository. The Git provider clones users repositories using
the github.com/go-git/go-git/v5 library on these lines:

https://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L55-L89

The Git provider does the following on these lines:

First, it sets the CloneOptions, specifying the url, the depth etc:

https://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L56-L62

It then validates th...

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
      versions:
        - fixed: 0.0.52
      vulnerable_at: 0.0.51
      packages:
        - package: github.com/stacklok/minder
summary: Minder affected by denial of service from maliciously configured Git repository in github.com/stacklok/minder
cves:
    - CVE-2024-37904
ghsas:
    - GHSA-hpcg-xjq5-g666
references:
    - advisory: https://github.com/advisories/GHSA-hpcg-xjq5-g666
    - advisory: https://github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666
    - fix: https://github.com/stacklok/minder/commit/35bab8f9a6025eea9e6e3cef6bd80707ac03d2a9
source:
    id: GHSA-hpcg-xjq5-g666
    created: 2024-06-18T17:01:17.546428311Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/595636 mentions this issue: data/reports: add 15 unreviewed reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants