Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-24376 EUVD-2025-0156GHSA-fc89-jghx-8pvgGO-2025-3434

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

Published Jan 30, 2025 · Updated Feb 12, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
kubewarden kubewarden-controller >= 1.7.0, < 1.21.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250207T224745-150000.1.32.1 SUSE-SU-2025:0429-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250204T220613-1.1 openSUSE-SU-2025:14732-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250207T224745-150000.1.32.1 SUSE-SU-2025:0429-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kubewarden/kubewarden-controller >= 1.7.0, < 1.21.0 1.21.0 GHSA-fc89-jghx-8pvg

Advisories 2

References