CVE-2024-31455: Minder GetRepositoryByName data leak
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.
References
- github.com/advisories/GHSA-ggp5-28x4-xcj9
- github.com/stacklok/minder
- github.com/stacklok/minder/commit/11b6573ad62cfdd783a8bb52f3fce461466037f4
- github.com/stacklok/minder/commit/5c381cfbf3e4b7ce040ed8511a1fae1a78a0014b
- github.com/stacklok/minder/pull/2941
- github.com/stacklok/minder/security/advisories/GHSA-ggp5-28x4-xcj9
- nvd.nist.gov/vuln/detail/CVE-2024-31455
Code Behaviors & Features
Detect and mitigate CVE-2024-31455 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →