HIGH7.1
GHSA-739f-hw6h-7wq8
PolicyController before 0.2.1 may bypass attestation verification
Quick fix
GHSA-739f-hw6h-7wq8 — github.com/sigstore/policy-controller: upgrade to the fixed version with the command below.
go get github.com/sigstore/policy-controller@v0.2.1Details
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 * There are NO attestations of the type being verified (--type defaults to "custom")
Users should upgrade to cosign version 0.2.1 or greater for a patch. There are no known workarounds at this time.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/sigstore/policy-controller
Introduced in:
0Fixed in: 0.2.1Fix
go get github.com/sigstore/policy-controller@v0.2.1References
- https://github.com/sigstore/policy-controller/security/advisories/GHSA-739f-hw6h-7wq8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-35930[ADVISORY]
- https://github.com/sigstore/policy-controller/commit/e852af36fb7d42678b21d7e97503c25bd1fd05c8[WEB]
- https://github.com/sigstore/policy-controller[PACKAGE]
- https://github.com/sigstore/policy-controller/releases/tag/v0.2.1[WEB]