{"id":"CVE-2024-27093","aliases":["CVE-2024-27093","GHSA-q6h8-4j2v-pjg4","GO-2024-2582"],"related":[],"kind":"vulnerability","state":"published","title":"Minder trusts client-provided mapping from repo name to upstream ID","summary":"Minder is a Software Supply Chain Security Platform. In version 0.0.31 and earlier, it is possible for an attacker to register a repository with a invalid or differing upstream ID, which causes Minder to report the repository as registered, but not remediate any future changes which conflict with policy (because the webhooks for the repo do not match any known repository in the database).  When attempting to register a repo with a different repo ID, the registered provider must have admin on the named repo, or a 404 error will result.  Similarly, if the stored provider token does not have repo access, then the remediations will not apply successfully.  Lastly, it appears that reconciliation actions do not execute against repos with this type of mismatch. This appears to primarily be a potential denial-of-service vulnerability.  This vulnerability is patched in version 0.20240226.1425+ref.53868a8.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Minder is a Software Supply Chain Security Platform. In version 0.0.31 and earlier, it is possible for an attacker to register a repository with a invalid or differing upstream ID, which causes Minder to report the repository as registered, but not remediate any future changes which conflict with policy (because the webhooks for the repo do not match any known repository in the database).  When attempting to register a repo with a different repo ID, the registered provider must have admin on the named repo, or a 404 error will result.  Similarly, if the stored provider token does not have repo access, then the remediations will not apply successfully.  Lastly, it appears that reconciliation actions do not execute against repos with this type of mismatch. This appears to primarily be a potential denial-of-service vulnerability.  This vulnerability is patched in version 0.20240226.1425+ref.53868a8.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nWhen using a modified client or the grpc interface directly, the `RegisterRepository` call accepts _both_ the repository owner / repo **and** the repo_id.  Furthermore, these two are not checked for matching before registering webhooks and data in the database.\n\n### Details\n\nIt is possible for an attacker to register a repository with a invalid or differing upstream ID, which causes Minder to report the repository as registered, but not remediate any future changes which conflict with policy (because the webhooks for the repo do not match any known repository in the database).  When attempting to register a repo with a different repo ID, the registered provider must have admin on the named repo, or a 404 error will result.  Similarly, if the stored provider token does not have repo access, then the remediations will not apply successfully.  Lastly, it appears that reconciliation actions do not execute against repos with this type of mismatch.\n\n### PoC\n\nWith an RPC like the following text proto:\n\n```\ncontext {\n  ...\n}\nrepository {\n  owner: \"Stacklok-Demo-Org\"\n  repo: \"python-app\"\n  # repo_id is defaulted to 0\n}\n```\n\nI was able to produce the following `minder` output:\n\n```\n+--------------------------------------+--------------------------------------+----------+-------------+-------------------+------------+\n|                  ID                  |               PROJECT                | PROVIDER | UPSTREAM ID |       OWNER       |    NAME    |\n+--------------------------------------+--------------------------------------+----------+-------------+-------------------+------------+\n| da3acba4-ef66-4d9b-b41e-250869107fd5 | f9f4aef0-74af-4909-a0c3-0e8ac7fbc38d | github   |           0 | Stacklok-Demo-Org | python-app |\n+--------------------------------------+--------------------------------------+----------+-------------+-------------------+------------+\n| 7cf8f7b8-b19b-40dd-a96b-b88bb1ef5563 | f9f4aef0-74af-4909-a0c3-0e8ac7fbc38d | github   |   762029128 | evankanderson     | bad-python |\n+--------------------------------------+--------------------------------------+----------+-------------+-------------------+------------+\n```\n\n```\n$ gh api repos/Stacklok-Demo-Org/python-app | jq .id                  \n762029128\n```\n\nI've registered bad-python with the ID of python-app, and python-app with an ID of 0.\n\n### Impact\n\nThis appears to primarily be a potential denial-of-service vulnerability.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Minder trusts client-provided mapping from repo name to upstream ID in github.com/stacklok/minder.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/stacklok/minder before v0.20240226.1425.","format":"markdown","source":"go"},{"lang":"es","text":"Minder es una plataforma de seguridad de la cadena de suministro de software. En la versión 0.0.31 y anteriores, es posible que un atacante registre un repositorio con un ID ascendente no válido o diferente, lo que hace que Minder informe el repositorio como registrado, pero no solucione ningún cambio futuro que entre en conflicto con la política (porque los webhooks para el repositorio no coinciden con ningún repositorio conocido en la base de datos). Al intentar registrar un repositorio con un ID de repositorio diferente, el proveedor registrado debe tener un administrador en el repositorio nombrado o se producirá un error 404. De manera similar, si el token del proveedor almacenado no tiene acceso al repositorio, las soluciones no se aplicarán correctamente. Por último, parece que las acciones de conciliación no se ejecutan contra repos con este tipo de descalce. Esto parece ser principalmente una posible vulnerabilidad de denegación de servicio. Esta vulnerabilidad está parcheada en la versión 0.20240226.1425+ref.53868a8.","source":"nvd"}],"published":"2024-02-26T21:57:25.101Z","modified":"2026-09-10T03:50:09.792Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 0.20240226.1425+ref.53868a8","status":"affected"}],"vendor":"stacklok","product":"minder","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","fixed":"0.20240226.1425\\+ref.53868a8","status":"affected"}],"vendor":"stacklok","product":"minder","cpe":"cpe:2.3:a:stacklok:minder:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.20240226.1425"}],"ecosystem":"Go","package":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.0.31"}],"vendor":"lfprojects","product":"minder","cpe":"cpe:2.3:a:lfprojects:minder:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/stacklok/minder/security/advisories/GHSA-q6h8-4j2v-pjg4","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/stacklok/minder/commit/53868a878e93f29c43437f96dbc990b548e48d1d","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27093","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/stacklok/minder","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2582","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-02-27T18:24:55.540Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27093","url":"https://www.cve.org/CVERecord?id=CVE-2024-27093","licence":"CVE Terms of Use","modified":"2024-08-27T19:43:28.099Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6h8-4j2v-pjg4","url":"https://github.com/advisories/GHSA-q6h8-4j2v-pjg4","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.792Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2582","url":"https://pkg.go.dev/vuln/GO-2024-2582","licence":"CC-BY-4.0","modified":"2024-07-09T19:33:56.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27093","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27093","licence":"Public domain","modified":"2026-06-17T07:19:08.900Z"}],"updatedAt":"2026-11-25T22:58:37.069Z","epss":{"score":0.00553,"percentile":0.47604,"date":"2026-12-01T12:00:22.000Z"}}