CVE-2022-47633: Github.com/kyverno/kyverno Kyverno VerifyImages Rule Bypass Possible Vulnerability
HIGHCVE-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
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).
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.
Upgrade github.com/kyverno/kyverno to 1.8.5
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
CVE-2022-47633 Affected Github.com/kyverno/kyverno Versions
1 component(s)| 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?
Which Github.com/kyverno/kyverno versions are affected?
What version fixes CVE-2022-47633?
Is github.com/kyverno/kyverno affected?
What is the CVSS score of CVE-2022-47633?
What CWE is associated with CVE-2022-47633?
How can I check Go dependencies for CVE-2022-47633?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}