{"answers":{"affected":"3 open source packages ship an affected version, including github.com/sigstore/policy-controller. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-35930 in the wild and no public exploit code.","fix":"Upgrade github.com/sigstore/policy-controller to 0.2.1 or later.","what":"CVE-2022-35930 is a high-severity vulnerability in sigstore policy-controller, published on 4 Aug 2022. 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-2022-35930 and fix it if it is affected.\n\nWhat it is: CVE-2022-35930 is a high-severity vulnerability in sigstore policy-controller, published on 4 Aug 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-35930 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sigstore/policy-controller (Go): affected all versions; fixed in 0.2.1\n- github.com/sigstore/policy-controller (Go): affected all versions; fixed in 0.2.1\n- github.com/sigstore/policy-controller (Go): affected all versions; fixed in 0.2.1\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-2022-35930/ (Markdown: https://insights.sbomify.com/CVE-2022-35930/index.md)","id":"CVE-2022-35930","markdown":"https://insights.sbomify.com/CVE-2022-35930/index.md","name":"CVE-2022-35930","record":{"aliases":["GHSA-739f-hw6h-7wq8","GO-2022-0759"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes policy controller","requires_auth":"low_privilege","summary":"Attackers can bypass attestation verification in sigstore PolicyController, allowing unauthorized images into Kubernetes clusters.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"policy_controller","vendor":"sigstore"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"PolicyController is a utility used to enforce supply chain policy in Kubernetes clusters. In versions prior to 0.2.1 PolicyController will report a false positive, resulting in an admission when it should not be admitted when there is at least one attestation with a valid signature and there are NO attestations of the type being verified (--type defaults to \"custom\"). An example image that can be used to test this is `ghcr.io/distroless/static@sha256:dd7614b5a12bc4d617b223c588b4e0c833402b8f4991fb5702ea83afad1986e2`. Users should upgrade to version 0.2.1 to resolve this issue. There are no workarounds for users unable to upgrade.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ability to bypass attestation verification in sigstore PolicyController","id":"CVE-2022-35930","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator","id":"CVE-2022-35931"},"packages":[{"ecosystem":"Go","fixed":["0.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/policy-controller","purl":null,"source":"GHSA-739f-hw6h-7wq8"},{"ecosystem":"Go","fixed":["0.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/policy-controller","purl":"pkg:golang/github.com/sigstore/policy-controller","source":"GHSA-739f-hw6h-7wq8"},{"ecosystem":"Go","fixed":["0.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/policy-controller","purl":"pkg:golang/github.com/sigstore/policy-controller","source":"GO-2022-0759"}],"prev":{"headline":"False positive signature verification in cosign","id":"CVE-2022-35929"},"products":["policy-controller"],"published":"2022-08-04","related":[],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["sigstore"]},"summary":"Attackers can bypass attestation verification in sigstore PolicyController, allowing unauthorized images into Kubernetes clusters.","url":"https://insights.sbomify.com/CVE-2022-35930/"}