GHSA-m3cq-xcx9-3gvm
kyverno verifyImages rule bypass possible with malicious proxy/registry
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/kyverno/kyverno | >= 1.8.3, < 1.8.5 | 1.8.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
Users of Kyverno on versions 1.8.3 or 1.8.4 who use `verifyImages` rules to verify container image signatures, and do not prevent use of unknown registries.
### Patches
This issue has been fixed in version [1.8.5](https://github.com/kyverno/kyverno/releases/tag/v1.8.5)
### Workarounds
Configure a Kyverno policy to restrict registries to a set of secure trusted image registries ([sample](https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries/)).
### References
References
External links from the advisory. They lead to third-party sites.
- https://github.com/kyverno/kyverno/security/advisories/GHSA-m3cq-xcx9-3gvm
- https://nvd.nist.gov/vuln/detail/CVE-2022-47633
- https://github.com/kyverno/kyverno/pull/5713
- https://github.com/kyverno/kyverno
- https://github.com/kyverno/kyverno/compare/v1.8.4...v1.8.5
- https://github.com/kyverno/kyverno/releases/tag/v1.8.5
- https://kyverno.io/docs/writing-policies/verify-images
- https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries
- https://pkg.go.dev/vuln/GO-2022-1180
- https://web.archive.org/web/20230426095744/https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries