Vulnerability · Published Apr 9, 2024 · Assigned by GitHub_M
CVE-2024-31455Minder GetRepositoryByName data leak
Medium 4.3
In plain English
A medium-severity information exposure in minder from stacklok. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Minder by Stacklok is an open source software supply chain security platform. A refactoring in commit `5c381cf` 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. This issue is patched in pull request 2941. As a workaround, revert prior to `5c381cf`, or roll forward past `2eb94e7`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/stacklok/minder | 0.0.40 | GHSA-ggp5-28x4-xcj9 |
| Go | github.com/stacklok/minder | 0.0.40 | GO-2024-2701 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/stacklok/minder/security/advisories/GHSA-ggp5-28x4-xcj9 x_refsource_CONFIRM
- https://github.com/stacklok/minder/pull/2941 x_refsource_MISC
- https://github.com/stacklok/minder/commit/11b6573ad62cfdd783a8bb52f3fce461466037f4 x_refsource_MISC
- https://github.com/stacklok/minder/commit/5c381cfbf3e4b7ce040ed8511a1fae1a78a0014b x_refsource_MISC