Vulnerability
CVE-2025-29778
Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to version 1.14.0-alpha.1, Kyverno ignores subjectRegExp and IssuerRegExp while verifying artifact's sign with keyless mode. It allows the attacker to deploy kubernetes resources with the artifacts that were signed by unexpected certificate. Deploying these unauthorized kubernetes resources can lead to full compromise of kubernetes cluster. Version 1.14.0-alpha.1 contains a patch for the issue.
27 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-393q-95cv-4943
- CGA-458g-q836-38c7
- CGA-45w4-m52g-h9v3
- CGA-4gmw-8c3h-56xf
- CGA-4rvg-7gx5-wgcq
- CGA-4vww-vh2j-93xh
- CGA-52xc-67cx-6p57
- CGA-5p9w-xgjw-cxv5
- CGA-6v49-799q-63mc
- CGA-8p67-r476-jcp9
- CGA-c8q8-x66c-x893
- CGA-f7v2-rwpg-4hxv
- CGA-fg29-5g9g-pwj4
- CGA-h4c8-jgpj-m53r
- CGA-h7j4-4w3p-6pg6
- CGA-hhwg-ff3h-489m
- CGA-j6wg-q8hj-fq7c
- CGA-m545-x9mc-r53j
- CGA-m8jr-7hpp-ww3p
- CGA-qmj8-5q8p-7g8r
- CGA-qvxj-9r5q-76p3
- CGA-r9rc-w5qh-2w7h
- CGA-rppv-cgvh-h4gj
- CGA-v5v6-mrrr-j5v4
-
GHSA-46mp-8w32-6g94
Kyverno ignores subjectRegExp and IssuerRegExp
-
GO-2025-3562
Kyverno ignores subjectRegExp and IssuerRegExp in github.com/kyverno/kyverno
-
openSUSE-SU-2025:14937-1
govulncheck-vulndb-0.0.20250327T184518-1.1 on GA media
References
- https://github.com/Mohdcode/kyverno/blob/373f942ea9fa8b63140d0eb0e101b9a5f71033f3/pkg/cosign/cosign.go#L537
- https://github.com/kyverno/kyverno/commit/8777672fb17bdf252bd2e7d8de3441e240404a60
- https://github.com/kyverno/kyverno/pull/12237
- https://github.com/kyverno/kyverno/security/advisories/GHSA-46mp-8w32-6g94
- https://github.com/kyverno/policies/issues/1246