CVE-2022-47633: Github.com/kyverno/kyverno Kyverno VerifyImages Rule Bypass Possible Vulnerability

HIGH
Advisory Identifier: GHSA-m3cq-xcx9-3gvm
CVSS 8.1
CWE-287
Published
Advisory Summary

CVE-2022-47633 is a HIGH (CVSS 8.1) kyverno verifyimages rule bypass possible vulnerability (CWE-287: Improper Authentication) affecting Github.com/kyverno/kyverno libraries in the Go ecosystem. The issue involves kyverno verifyimages rule bypass possible with malicious proxy/registry. Remediation is available by upgrading affected packages to version 1.8.5.

CVE-2022-47633 at a Glance

CVE Identifier CVE-2022-47633
GHSA Identifier GHSA-m3cq-xcx9-3gvm
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-287: Improper Authentication
Affected Product Github.com/kyverno/kyverno
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2022-47633

To remediate this vulnerability, upgrade all affected Github.com/kyverno/kyverno dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/kyverno/kyverno fixed: 1.8.5
Upgrade github.com/kyverno/kyverno to 1.8.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/kyverno/kyverno

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-47633, inspect your project dependencies for Github.com/kyverno/kyverno:

inspect dependencies for github.com/kyverno/kyverno

Analyze the terminal output to locate any version of Github.com/kyverno/kyverno in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/kyverno/kyverno, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Users of Kyverno on versions 1.8.3 or 1.8.4 who use `verifyImages` rules to verify container image signatures, and do not prevent use of unknown registries. ### Patches This issue has been fixed in version [1.8.5](https://github.com/kyverno/kyverno/releases/tag/v1.8.5) ### Workarounds Configure a Kyverno policy to restrict registries to a set of secure trusted image registries ([sample](https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries/)). ### References

CVE-2022-47633 Affected Github.com/kyverno/kyverno Versions

1 component(s)
Fixed Versions:
1.8.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/kyverno/kyverno
Go
≥ 1.8.3
< 1.8.5
1.8.5

References

Frequently Asked Questions

What is CVE-2022-47633?
CVE-2022-47633 is a security vulnerability in Github.com/kyverno/kyverno involving kyverno verifyImages rule bypass possible with malicious proxy/registry under CWE-287: Improper Authentication.
Which Github.com/kyverno/kyverno versions are affected?
Affected versions include releases prior to 1.8.5 across affected packages: github.com/kyverno/kyverno.
What version fixes CVE-2022-47633?
Upgrading to 1.8.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kyverno/kyverno affected?
Yes, github.com/kyverno/kyverno is affected in releases prior to 1.8.5. Upgrade your dependency to 1.8.5 or later.
What is the CVSS score of CVE-2022-47633?
CVE-2022-47633 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-47633?
CVE-2022-47633 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for CVE-2022-47633?
Run the dependency tree command: 'inspect dependencies for github.com/kyverno/kyverno'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m3cq-xcx9-3gvm",
  "modified" : "2025-04-15T12:50:46Z",
  "published" : "2022-12-21T17:24:10Z",
  "aliases" : [ "CVE-2022-47633" ],
  "summary" : "kyverno verifyImages rule bypass possible with malicious proxy/registry",
  "details" : "### Impact\n\nUsers of Kyverno on versions 1.8.3 or 1.8.4 who use `verifyImages` rules to verify container image signatures, and do not prevent use of unknown registries.\n\n### Patches\n\nThis issue has been fixed in version [1.8.5](https://github.com/kyverno/kyverno/releases/tag/v1.8.5)\n\n### Workarounds\n\nConfigure a Kyverno policy to restrict registries to a set of secure trusted image registries ([sample](https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries/)).\n\n### References",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kyverno/kyverno"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.8.3"
      }, {
        "fixed" : "1.8.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/kyverno/kyverno/security/advisories/GHSA-m3cq-xcx9-3gvm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-47633"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kyverno/kyverno/pull/5713"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kyverno/kyverno"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kyverno/kyverno/compare/v1.8.4...v1.8.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kyverno/kyverno/releases/tag/v1.8.5"
  }, {
    "type" : "WEB",
    "url" : "https://kyverno.io/docs/writing-policies/verify-images"
  }, {
    "type" : "WEB",
    "url" : "https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2022-1180"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20230426095744/https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-12-21T17:24:10Z",
    "nvd_published_at" : "2022-12-23T23:15:00Z"
  }
}