{"id":"CVE-2024-31455","summary":"Minder GetRepositoryByName data leak","details":"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`.","aliases":["GHSA-ggp5-28x4-xcj9","GO-2024-2701"],"modified":"2026-08-12T03:51:08.338306714Z","published":"2024-04-09T16:52:03.254Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31455.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31455.json"},{"type":"ADVISORY","url":"https://github.com/stacklok/minder/security/advisories/GHSA-ggp5-28x4-xcj9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31455"},{"type":"FIX","url":"https://github.com/stacklok/minder/commit/11b6573ad62cfdd783a8bb52f3fce461466037f4"},{"type":"FIX","url":"https://github.com/stacklok/minder/commit/5c381cfbf3e4b7ce040ed8511a1fae1a78a0014b"},{"type":"FIX","url":"https://github.com/stacklok/minder/pull/2941"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mindersec/minder","events":[{"introduced":"11c13c202acb1e0a2e6ecb1e73b14ef79bc003c3"},{"fixed":"11b6573ad62cfdd783a8bb52f3fce461466037f4"},{"fixed":"5c381cfbf3e4b7ce040ed8511a1fae1a78a0014b"}],"database_specific":{"extracted_events":[{"introduced":"= 0.0.39"},{"last_affected":"= 0.0.39"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["= 0.0.39","v0.0.39"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31455.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}