Advisory

GHSA-ggp5-28x4-xcj9

Also known as: CVE-2024-31455, GO-2024-2701

Summary

Minder GetRepositoryByName data leak

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-09 16:18 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/stacklok/minder

Go · All systems

Affected

  • introduced 0.0.39, fixed 0.0.40 (semver)

Fixed versions

0.0.40

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences