{"id":"CVE-2024-27916","published":"2024-03-06T20:21:22Z","modified":"2024-08-02T19:39:30Z","title":"`GetRepositoryByName`, `DeleteRepositoryByName` and `GetArtifactByName` allow access of arbitrary repositories in…","vendor":"stacklok","product":"minder","tier":"tail","description":{"text":"Minder is a software supply chain security platform. Prior to version 0.0.33, a Minder user can use the endpoints `GetRepositoryByName`, `DeleteRepositoryByName`, and `GetArtifactByName` to access any repository in the database, irrespective of who owns the repo and any permissions present. The database query checks by repo owner, repo name and provider name (which is always `github`). These query values are not distinct for the particular user - as long as the user has valid credentials and a provider, they can set the repo owner/name to any value they want and the server will return information on this repo. Version 0.0.33 contains a patch for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00713,"percentile":0.49363,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/stacklok/minder/security/advisories/GHSA-v627-69v2-xx37","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/stacklok/minder/commit/45750b4e9fb2de33365758366e06c19e999bd2eb","tags":["x_refsource_MISC"]},{"url":"https://github.com/stacklok/minder/blob/a115c8524fbd582b2b277eaadce024bebbded508/internal/controlplane/handlers_repositories.go#L277-L278","tags":["x_refsource_MISC"]},{"url":"https://github.com/stacklok/minder/blob/main/internal/controlplane/handlers_repositories.go#L257-L299","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.87},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"stacklok","affectedVersions":[{"vendor":"stacklok","product":"minder","versions":["< 0.0.33"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-02T19:38:55.333522Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/stacklok/minder","vulnerableRanges":["<0.0.33"],"patched":["0.0.33"],"from":["GHSA-v627-69v2-xx37","GO-2024-2608"],"provenance":"source"}],"summary":{"text":"Minder, a software supply chain security platform, has an improper authorization flaw in its GetRepositoryByName, DeleteRepositoryByName and GetArtifactByName endpoints, which look up repositories by owner, name and provider without checking whether the requesting user is entitled to them. An attacker who has valid credentials and a configured provider over the network, and needs no user interaction, can supply any repository owner and name to read, and delete, repositories and artifacts they do not own or have permission for.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:21Z"},"euvd":{"id":"EUVD-2024-1009","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-stacklok-minder-cve-2024-27916","children":[{"from":"CVE-2024-27916","to":"CVE-2024-31455","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["database/query/repositories.sql","internal/controlplane/handlers_artifacts.go","internal/controlplane/handlers_repositories.go","internal/db/repositories.sql.go"],"commits":["https://github.com/stacklok/minder/commit/45750b4e9fb2de33365758366e06c19e999bd2eb","https://github.com/stacklok/minder/commit/11b6573ad62cfdd783a8bb52f3fce461466037f4","https://github.com/stacklok/minder/commit/5c381cfbf3e4b7ce040ed8511a1fae1a78a0014b"],"basis":"shared function","functions":["DeleteRepositoryByName","GetArtifactByName","GetRepositoryByName","GetRepositoryByRepoID"]}]}]}}