high8.1
CVE-2022-47633
kyverno verifyImages rule bypass possible with malicious proxy/registry
Impact
### 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
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/kyverno/kyverno | >= 1.8.3, < 1.8.5 | 1.8.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Kyverno | Kyverno | Versions 1.8.3, 1.8.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/kyverno/kyverno/compare/v1.8.4...v1.8.5
- https://github.com/kyverno/kyverno/pull/5713
- https://github.com/kyverno/kyverno/releases/tag/v1.8.5
- https://github.com/kyverno/kyverno/security/advisories/GHSA-m3cq-xcx9-3gvm
- https://kyverno.io/docs/writing-policies/verify-images/
- https://github.com/advisories/GHSA-m3cq-xcx9-3gvm
- https://nvd.nist.gov/vuln/detail/CVE-2022-47633
- https://pkg.go.dev/vuln/GO-2022-1180
- https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries
- https://kyverno.io/docs/writing-policies/verify-images
- https://web.archive.org/web/20230426095744/https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries