Skip to content

CVE-2025-24376 The kubewarden-controller AdmissionPolicy and AdmissionPolicyGroup policies can be used to alter PolicyReport resources

MediumCVSS 6.5 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Kubernetes

Description

kubewarden-controller is a Kubernetes controller that allows you to dynamically register Kubewarden admission policies. By design, AdmissionPolicy and AdmissionPolicyGroup can evaluate only namespaced resources. The resources to be evaluated are determined by the rules provided by the user when defining the policy. There might be Kubernetes namespaced resources that should not be validated by AdmissionPolicy and by the AdmissionPolicyGroup policies because of their sensitive nature. For example, PolicyReport are namespaced resources that contain the list of non compliant objects found inside of a namespace. An attacker can use either an AdmissionPolicy or an AdmissionPolicyGroup to prevent the creation and update of PolicyReport objects to hide non-compliant resources. Moreover, the same attacker might use a mutating AdmissionPolicy to alter the contents of the PolicyReport created inside of the namespace. Starting from the 1.21.0 release, the validation rules applied to AdmissionPolicy and AdmissionPolicyGroup have been tightened to prevent them from validating sensitive types of namespaced resources.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
kubewarden-controller(Go) >= 1.7.0, < 1.21.0 1.21.0 Fixed
kubewarden-controller = >= 1.7.0, < 1.21.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
kubewarden-controller(Go) >= 1.7.0, < 1.21.0 1.21.0
kubewarden-controller = >= 1.7.0, < 1.21.0 No fix listed

References