{"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-27093 exists.","fix":"Upgrade github.com/stacklok/minder to 0.20240226.1425 or later.","what":"CVE-2024-27093 is a medium-severity vulnerability in stacklok minder, published on 26 Feb 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-27093 and fix it if it is affected.\n\nWhat it is: CVE-2024-27093 is a medium-severity vulnerability in stacklok minder, published on 26 Feb 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27093 exists.\n\nAffected packages and fixed versions:\n- github.com/stacklok/minder (Go): affected all versions; no fix listed\n- github.com/stacklok/minder (Go): affected all versions; fixed in 0.20240226.1425\n- github.com/stacklok/minder (Go): affected all versions; fixed in 0.20240226.1425\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-27093/ (Markdown: https://insights.sbomify.com/CVE-2024-27093/index.md)","id":"CVE-2024-27093","markdown":"https://insights.sbomify.com/CVE-2024-27093/index.md","name":"CVE-2024-27093","record":{"aliases":["GHSA-q6h8-4j2v-pjg4","GO-2024-2582"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["security_bypass","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Supply chain security platform","requires_auth":"low_privilege","summary":"Attackers can bypass security remediation by registering repositories with mismatched upstream IDs, preventing policy enforcement and causing denial of service.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"minder","vendor":"lfprojects"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","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":"Minder trusts client-provided mapping from repo name to upstream ID","id":"CVE-2024-27093","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"OpenZeppelin Contracts base64 encoding may read from potentially dirty memory","id":"CVE-2024-27094"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","source":"GO-2024-2582"},{"ecosystem":"Go","fixed":["0.20240226.1425"],"introduced":["0"],"last_affected":[],"package":"github.com/stacklok/minder","purl":null,"source":"GHSA-q6h8-4j2v-pjg4"},{"ecosystem":"Go","fixed":["0.20240226.1425"],"introduced":["0"],"last_affected":[],"package":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","source":"GHSA-q6h8-4j2v-pjg4"}],"prev":{"headline":"Content spoofing - real Hoppscotch emails","id":"CVE-2024-27092"},"products":["minder"],"published":"2024-02-26","related":[{"cvss_score":7.1,"headline":"`GetRepositoryByName`, `DeleteRepositoryByName` and `GetArtifactByName` allow access of arbitrary repositories in Minder by any authenticated user","id":"CVE-2024-27916","kev_date_added":null,"published":"2024-03-06"}],"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-27","vendors":["stacklok"]},"summary":"Attackers can bypass security remediation by registering repositories with mismatched upstream IDs, preventing policy enforcement and causing denial of service.","url":"https://insights.sbomify.com/CVE-2024-27093/"}