Skip to content

x/vulndb: potential Go vuln in github.com/kyverno/kyverno: GHSA-46mp-8w32-6g94 #3562

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 Mar 24, 2025 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-46mp-8w32-6g94 references a vulnerability in the following Go modules:

Module
github.com/kyverno/kyverno

Description:

Summary

Kyverno ignores subjectRegExp and IssuerRegExp while verifying artifact's sign with keyless mode. It allows the attacker to deploy kubernetes resources with the artifacts that were signed by unexpected certificate.

Details

Kyverno checks only subject and issuer fields when verifying an artifact's signature: https://github.com/Mohdcode/kyverno/blob/373f942ea9fa8b63140d0eb0e101b9a5f71033f3/pkg/cosign/cosign.go#L537. While there are subjectRegExp and issuerRegExp fields that can also be used for the defining expected subject and issue values. If the last ones are used then their ...

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.14.0-alpha.1
      vulnerable_at: 1.13.4
summary: Kyverno ignores subjectRegExp and IssuerRegExp in github.com/kyverno/kyverno
cves:
    - CVE-2025-29778
ghsas:
    - GHSA-46mp-8w32-6g94
references:
    - advisory: https://github.com/advisories/GHSA-46mp-8w32-6g94
    - advisory: https://github.com/kyverno/kyverno/security/advisories/GHSA-46mp-8w32-6g94
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-29778
    - fix: https://github.com/kyverno/kyverno/commit/8777672fb17bdf252bd2e7d8de3441e240404a60
    - fix: https://github.com/kyverno/kyverno/pull/12237
    - report: https://github.com/kyverno/policies/issues/1246
    - web: https://github.com/Mohdcode/kyverno/blob/373f942ea9fa8b63140d0eb0e101b9a5f71033f3/pkg/cosign/cosign.go#L537
source:
    id: GHSA-46mp-8w32-6g94
    created: 2025-03-24T20:01:22.749988496Z
review_status: UNREVIEWED

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