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-37904 #2935

Closed
GoVulnBot opened this issue Jun 18, 2024 · 2 comments
Closed
Assignees

Comments

@GoVulnBot
Copy link

Advisory CVE-2024-37904 references a vulnerability in the following Go modules:

Module
github.com/stacklok/minder

Description:
Minder is an open source Software Supply Chain Security Platform. 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 lines L55-L89. The Git provider does
the following on the lines L56-L62. First, it sets the CloneOptions,
specifying the url, the depth etc. It then validates the options. It then sets
up an in-memory filesystem, to which it clones and Finally, it clones the
repository. The (g *Git) Clone() method is vulnerable to a DoS at...

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.51
      packages:
        - package: minder
summary: CVE-2024-37904 in github.com/stacklok/minder
cves:
    - CVE-2024-37904
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-37904
    - fix: https://github.com/stacklok/minder/commit/7979b43
    - web: https://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L55-L89
    - web: https://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L56-L62
    - web: https://github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666
source:
    id: CVE-2024-37904
    created: 2024-06-18T19:01:16.493651285Z
review_status: UNREVIEWED

@tatianab tatianab self-assigned this Jun 25, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/594901 mentions this issue: data/reports: add 18 unreviewed reports

@tatianab
Copy link
Contributor

Duplicate of #2934

@tatianab tatianab marked this as a duplicate of #2934 Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants