{"answers":{"affected":"3 open source packages ship an affected version, including github.com/stacklok/minder. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27916 exists.","fix":"Upgrade github.com/stacklok/minder to 0.0.33 or later.","what":"CVE-2024-27916 is a high-severity missing authorization vulnerability in stacklok minder, published on 6 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-27916 and fix it if it is affected.\n\nWhat it is: CVE-2024-27916 is a high-severity missing authorization vulnerability in stacklok minder, published on 6 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27916 exists.\n\nAffected packages and fixed versions:\n- github.com/stacklok/minder (Go): affected all versions; fixed in 0.0.33\n- github.com/stacklok/minder (Go): affected all versions; fixed in 0.0.33\n- github.com/stacklok/minder (Go): affected all versions; fixed in 0.0.33\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-27916/ (Markdown: https://insights.sbomify.com/CVE-2024-27916/index.md)","id":"CVE-2024-27916","markdown":"https://insights.sbomify.com/CVE-2024-27916/index.md","name":"CVE-2024-27916","record":{"aliases":["GHSA-v627-69v2-xx37","GO-2024-2608"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Minder supply chain platform","requires_auth":"low_privilege","summary":"Authenticated users can access or delete arbitrary repositories in Minder due to missing authorization checks on specific API endpoints.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"minder","vendor":"lfprojects"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"`GetRepositoryByName`, `DeleteRepositoryByName` and `GetArtifactByName` allow access of arbitrary repositories in Minder by any authenticated user","id":"CVE-2024-27916","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":3,"n_references":4,"next":{"headline":"Shopware's session is persistent in Cache for 404 pages","id":"CVE-2024-27917"},"packages":[{"ecosystem":"Go","fixed":["0.0.33"],"introduced":["0"],"last_affected":[],"package":"github.com/stacklok/minder","purl":null,"source":"GHSA-v627-69v2-xx37"},{"ecosystem":"Go","fixed":["0.0.33"],"introduced":["0"],"last_affected":[],"package":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","source":"GHSA-v627-69v2-xx37"},{"ecosystem":"Go","fixed":["0.0.33"],"introduced":["0"],"last_affected":[],"package":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","source":"GO-2024-2608"}],"prev":{"headline":"Sulu grants access to pages regardless of role permissions","id":"CVE-2024-27915"},"products":["minder"],"published":"2024-03-06","related":[{"cvss_score":4.6,"headline":"Minder trusts client-provided mapping from repo name to upstream ID","id":"CVE-2024-27093","kev_date_added":null,"published":"2024-02-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["stacklok"]},"summary":"Authenticated users can access or delete arbitrary repositories in Minder due to missing authorization checks on specific API endpoints.","url":"https://insights.sbomify.com/CVE-2024-27916/"}