CVE-2022-3962 Kiali: error message spoofing in kiali ui
An attacker can inject arbitrary text into Kiali UI error messages due to improper error handling, potentially misleading users or altering displayed content.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-3962?
CVE-2022-3962 is a medium-severity cross-site scripting vulnerability in Red Hat OpenShift Service Mesh 2.1, published on 23 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A content spoofing vulnerability was found in Kiali. It was discovered that Kiali does not implement error handling when the page or endpoint being accessed cannot be found. This issue allows an attacker to perform arbitrary text injection when an error response is retrieved from the URL being accessed.
Weakness: CWE-74
Which versions are affected by CVE-2022-3962?
3 open source packages ship an affected version, including github.com/kiali/kiali. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kiali/kiali Go | All versions | 1.57.4 |
github.com/kiali/kiali Go | All versions | 1.57.4 |
github.com/kiali/kiali Go | All versions | 1.57.4 |
Products include Kiali Kiali, Redhat Openshift Service Mesh.
How do I fix CVE-2022-3962?
Upgrade github.com/kiali/kiali to 1.57.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-3962 being exploited?
There is no known exploitation of CVE-2022-3962 in the wild and no public exploit code.
Other vulnerabilities in Red Hat OpenShift Service Mesh 2.1
Sources
Also known as ECHO-b512-ef1d-bd95, GHSA-6f4m-j56w-55c3, GO-2023-2075, MINI-4rvv-j693-4xvm, MINI-9xrh-4hj7-cr72.