CVE-2024-31455: Minder GetRepositoryByName data leak
Impact A recent refactoring added the ability to get GitHub repositories registered to a project without specifying a specific provider. Unfortunately, the SQL query for doing so was missing parenthesis, and would select a random repository. Patches Patched in #2941 Workarounds Revert prior to 5c381cf, or roll forward past 2eb94e7 References N/A
Published Apr 9, 2024
Affected packages
github.com/stacklok/minder
- Ecosystem
- Go
- Affected
- = 0.0.39
- Fixed in
- 0.0.40
- Check
go list -m github.com/stacklok/minder
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A recent refactoring added the ability to get GitHub repositories registered to a project without specifying a specific provider. Unfortunately, the SQL query for doing so was missing parenthesis, and would select a random repository.
Patches
Patched in #2941
Workarounds
Revert prior to 5c381cf, or roll forward past 2eb94e7
References
N/A
Credited to eleftherias.
References
- https://github.com/stacklok/minder/security/advisories/GHSA-ggp5-28x4-xcj9
- https://github.com/stacklok/minder/pull/2941
- https://github.com/stacklok/minder/commit/11b6573ad62cfdd783a8bb52f3fce461466037f4
- https://github.com/stacklok/minder/commit/5c381cfbf3e4b7ce040ed8511a1fae1a78a0014b
- https://nvd.nist.gov/vuln/detail/CVE-2024-31455
- https://github.com/advisories/GHSA-ggp5-28x4-xcj9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2024-37904
Minder affected by denial of service from maliciously configured Git repository
medium5.7Jun 18, 2024CVE-2024-35238
Denial of service of Minder Server from maliciously crafted GitHub attestations
medium5.3May 28, 2024CVE-2024-35194
Stacklok Minder vulnerable to denial of service from maliciously crafted templates
medium5.3May 20, 2024CVE-2024-35185
Denial of service of Minder Server with attacker-controlled REST endpoint
medium5.3May 16, 2024CVE-2024-34084
Minder's GitHub Webhook Handler vulnerable to DoS from un-validated requests
high7.5May 7, 2024CVE-2024-27916
`GetRepositoryByName`, `DeleteRepositoryByName` and `GetArtifactByName` allow access of arbitrary repositories in Minder by any authenticated user
high7.1Mar 5, 2024
