PT-2025-5353 · Unknown+1 · Kubewarden-Controller+1

Flavio

·

Published

2025-01-30

·

Updated

2025-02-11

·

CVE-2025-24376

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Name of the Vulnerable Software and Affected Versions kubewarden-controller versions prior to 1.21.0
Description The issue concerns the validation of namespaced resources by AdmissionPolicy and AdmissionPolicyGroup policies in kubewarden-controller. An attacker can exploit this to prevent the creation and update of PolicyReport objects, which contain lists of non-compliant objects found inside a namespace, thereby hiding non-compliant resources. Additionally, a mutating AdmissionPolicy can alter the contents of PolicyReport resources. The validation rules have been tightened starting from version 1.21.0 to prevent the validation of sensitive types of namespaced resources.
Recommendations For versions prior to 1.21.0, apply the provided Kubewarden policy to prevent the creation of AdmissionPolicy and AdmissionPolicyGroup resources that interact with PolicyReport resources. The policy, named "deny-interaction-with-policyreport", restricts the usage of wildcards when defining apiGroups and resources rules for AdmissionPolicy and AdmissionPolicyGroup objects, and prevents these policies from targeting PolicyReport resources.
For versions prior to 1.21.0, consider updating to version 1.21.0 or later, where the validation rules applied to AdmissionPolicy and AdmissionPolicyGroup have been tightened to prevent them from validating sensitive types of namespaced resources.
As a temporary workaround, consider restricting access to the PolicyReport resources to minimize the risk of exploitation. Avoid using the admissionpolicies and admissionpolicygroups resources in the affected API endpoints until the issue is resolved.

Exploit

Fix

Improper Authorization

Improper Neutralization of Wildcards

Weakness Enumeration

Related Identifiers

BDU:2025-06412
CVE-2025-24376
GHSA-FC89-JGHX-8PVG
GO-2025-3434
OPENSUSE-SU-2025:14732-1
OPENSUSE-SU-2025_0429-1
SUSE-SU-2025:0429-1

Affected Products

Suse
Kubewarden-Controller