Skip to content
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

x/vulndb: potential Go vuln in github.com/kyverno/kyverno: GHSA-qjvc-p88j-j9rm #3230

Closed
GoVulnBot opened this issue Oct 29, 2024 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-qjvc-p88j-j9rm references a vulnerability in the following Go modules:

Module
github.com/kyverno/kyverno

Description:

Summary

A kyverno ClusterPolicy, ie. "disallow-privileged-containers," can be overridden by the creation of a PolicyException in a random namespace.

Details

By design, PolicyExceptions are consumed from any namespace. Administrators may not recognize that this allows users with privileges to non-kyverno namespaces to create exceptions.

PoC

  1. Administrator creates "disallow-privileged-containers" ClusterPolicy that applies to resources in the namespace "ubuntu-restricted"
  2. Cluster user creates a PolicyException object for "disallow-privileged-containers" in namespace "ubuntu-re...

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.0
      vulnerable_at: 1.13.0-rc.3
summary: Kyverno's PolicyException objects can be created in any namespace by default in github.com/kyverno/kyverno
cves:
    - CVE-2024-48921
ghsas:
    - GHSA-qjvc-p88j-j9rm
references:
    - advisory: https://github.com/advisories/GHSA-qjvc-p88j-j9rm
    - advisory: https://github.com/kyverno/kyverno/security/advisories/GHSA-qjvc-p88j-j9rm
source:
    id: GHSA-qjvc-p88j-j9rm
    created: 2024-10-29T15:01:29.790043987Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/623695 mentions this issue: data/reports: add GO-2024-3230

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