CVE-2024-27916
Minder access control bypass in github.com/stacklok/minder
描述
A Minder user can use the endpoints to access any repository in the DB, irrespective of who owns the repo and any permissions that user may have. The DB query used 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. DeleteRepositoryByName uses the same query and a user can delete another user's repo using this technique. The GetArtifactByName endpoint also uses this DB query.
如何修補 CVE-2024-27916
要修補 CVE-2024-27916,請將受影響套件升級到下列已修補版本。
- —升級至 0.0.33 或更新版本
- —升級至 0.0.33 或更新版本
CVE-2024-27916 正在被利用嗎?
低 — EPSS 為 0.7%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.0.33
- from 0, < 0.0.33
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
參考連結(6)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2024-27916
- PATCHgithub.com/stacklok/minder
- WEBgithub.com/stacklok/minder/blob/a115c8524fbd582b2b277eaadce024bebbded508/internal/controlplane/handlers_repositories.go#L277-L278
- WEBgithub.com/stacklok/minder/blob/main/internal/controlplane/handlers_repositories.go#L257-L299