Vulnerability · Published Aug 4, 2022 · Assigned by GitHub_M
CVE-2022-35930Ability to bypass attestation verification in sigstore PolicyController
High 7.1
In plain English
A high-severity security flaw in policy-controller from sigstore. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/sigstore/policy-controller | 0.2.1 | GHSA-739f-hw6h-7wq8 |
| Go | github.com/sigstore/policy-controller | 0.2.1 | GO-2022-0759 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sigstore | policy-controller | < 0.2.1 |
Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H