Vulnerabilities in pkg:golang/github.com/kiali/kiali
PACKAGECVE-2022-3962 is a MODERATE (CVSS 4.3) kiali content spoofing vulnerability vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Github.com/kiali/kiali libraries in the Go ecosystem. The issue involves kiali content spoofing vulnerability. Remediation is available by upgrading affected packages to version 1.57.4.
pkg:golang/github.com/kiali/kiali
Vulnerability advisories affecting package pkg:golang/github.com/kiali/kiali. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6f4m-j56w-55c3 | CVE-2022-3962 | MODERATE | Kiali content spoofing vulnerability |
| GHSA-ggjr-2f7v-vhq4 | CVE-2021-20278 | MODERATE | Kiali Authentication Bypass vulnerability |
| GHSA-mv55-23xp-3wp8 | CVE-2021-3495 | HIGH | Access control flaw in Kiali |
| GHSA-465w-gg5p-85c9 | CVE-2020-1762 | HIGH | Insufficient Session Expiration in Kiali |
| GHSA-64rh-r86q-75ff | CVE-2020-1764 | HIGH | Hard coded cryptographic key in Kiali |
CVE-2022-3962 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2022-3962
To remediate this vulnerability, upgrade all affected Github.com/kiali/kiali 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/kiali/kiali to 1.57.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kiali/kiali
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-3962, inspect your project dependencies for Github.com/kiali/kiali:
inspect dependencies for github.com/kiali/kiali
Analyze the terminal output to locate any version of Github.com/kiali/kiali in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.57.4), 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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Github.com/kiali/kiali, 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-3962 Affected Github.com/kiali/kiali Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kiali/kiali
|
Go |
< 1.57.4
|
1.57.4
|
References
Frequently Asked Questions
What is CVE-2022-3962?
Which Github.com/kiali/kiali versions are affected?
What version fixes CVE-2022-3962?
Is github.com/kiali/kiali affected?
What is the CVSS score of CVE-2022-3962?
What CWE is associated with CVE-2022-3962?
How can I check Go dependencies for CVE-2022-3962?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6f4m-j56w-55c3",
"modified" : "2023-09-25T17:43:43Z",
"published" : "2023-09-23T21:30:17Z",
"aliases" : [ "CVE-2022-3962" ],
"summary" : "Kiali content spoofing vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kiali/kiali"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.57.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-3962"
}, {
"type" : "WEB",
"url" : "https://github.com/kiali/kiali/commit/aab7694f850f04d7fd875fac5f720a93ccdf01ad"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:0542"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2022-3962"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2148661"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kiali/kiali"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/OSSM-2251?attachmentViewMode=list"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-25T17:43:43Z",
"nvd_published_at" : "2023-09-23T20:15:10Z"
}
}