Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kubewarden/kubewarden-controller
  4. ›
  5. CVE-2025-24376

CVE-2025-24376: KubeWarden's AdmissionPolicy and AdmissionPolicyGroup policies can be used to alter PolicyReport resources

January 30, 2025 (updated February 5, 2025)

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. See this section of Kubewarden’s documentation for more details about PolicyReport resources. 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.

References

  • github.com/advisories/GHSA-fc89-jghx-8pvg
  • github.com/kubewarden/kubewarden-controller
  • github.com/kubewarden/kubewarden-controller/commit/8124039b5f0c955d0ee8c8ca12d4415282f02d2c
  • github.com/kubewarden/kubewarden-controller/security/advisories/GHSA-fc89-jghx-8pvg
  • nvd.nist.gov/vuln/detail/CVE-2025-24376
  • pkg.go.dev/vuln/GO-2025-3434

Code Behaviors & Features

Detect and mitigate CVE-2025-24376 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.7.0 before 1.21.0

Fixed versions

  • 1.21.0

Solution

Upgrade to version 1.21.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-155: Improper Neutralization of Wildcards or Matching Symbols

Source file

go/github.com/kubewarden/kubewarden-controller/CVE-2025-24376.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.