Skip to content

x/vulndb: potential Go vuln in github.com/kyverno/kyverno: GHSA-jrr2-x33p-6hvc #3652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoVulnBot opened this issue Apr 29, 2025 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-jrr2-x33p-6hvc references a vulnerability in the following Go modules:

Module
github.com/kyverno/kyverno

Description:

Summary

Due to a missing error propagation in function GetNamespaceSelectorsFromNamespaceLister in pkg/utils/engine/labels.go it may happen that policy rules using namespace selector(s) in their match statements are mistakenly not applied during admission review request processing. As a consequence, security-critical mutations and validations are bypassed, potentially allowing attackers with K8s API access to perform malicious operations.

Details

As a policy engine Kyverno is a critical component ensuring the security of Kubernetes clusters by apply security-relevant policy ru...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/kyverno/kyverno
      versions:
        - fixed: 1.13.5
        - introduced: 1.14.0-alpha.1
        - fixed: 1.14.0
      vulnerable_at: 1.14.0-rc.1
summary: |-
    Kyverno vulnerable to bypass of policy rules that use namespace selectors in
    match statements in github.com/kyverno/kyverno
cves:
    - CVE-2025-46342
ghsas:
    - GHSA-jrr2-x33p-6hvc
references:
    - advisory: https://github.com/advisories/GHSA-jrr2-x33p-6hvc
    - advisory: https://github.com/kyverno/kyverno/security/advisories/GHSA-jrr2-x33p-6hvc
    - fix: https://github.com/kyverno/kyverno/commit/3ff923b7756e1681daf73849954bd88516589194
source:
    id: GHSA-jrr2-x33p-6hvc
    created: 2025-04-29T17:01:31.069012016Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/669115 mentions this issue: data/reports: add GO-2025-3652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants