CVE-2022-39388: Github.com/istio/istio Istio May Allow Identity Impersonation Vulnerability
HIGHCVE-2022-39388 is a HIGH (CVSS 7.6) istio may allow identity impersonation vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/istio/istio libraries in the Go ecosystem. The issue involves istio may allow identity impersonation if user has localhost access. Remediation is available by upgrading affected packages to version 1.15.3.
CVE-2022-39388 at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N).
How to Fix CVE-2022-39388
To remediate this vulnerability, upgrade all affected Github.com/istio/istio 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/istio/istio to 1.15.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/istio/istio
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-39388, inspect your project dependencies for Github.com/istio/istio:
inspect dependencies for github.com/istio/istio
Analyze the terminal output to locate any version of Github.com/istio/istio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.15.3), 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/istio/istio, 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-39388 Affected Github.com/istio/istio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/istio/istio
|
Go |
≥ 1.15.0-beta.0
< 1.15.3
|
1.15.3
|
References
Frequently Asked Questions
What is CVE-2022-39388?
Which Github.com/istio/istio versions are affected?
What version fixes CVE-2022-39388?
Is github.com/istio/istio affected?
What is the CVSS score of CVE-2022-39388?
What CWE is associated with CVE-2022-39388?
How can I check Go dependencies for CVE-2022-39388?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6c6p-h79f-g6p4",
"modified" : "2022-11-09T22:07:01Z",
"published" : "2022-11-09T22:07:01Z",
"aliases" : [ "CVE-2022-39388" ],
"summary" : "Istio may allow identity impersonation if user has localhost access",
"details" : "### Impact\n\nUser can impersonate any workload identity within the service mesh if they have localhost access to the Istiod control plane.\n\n### Patches\n1.15.3\n\n### Workarounds\nNo. If using 1.15.2 please upgrade to 1.15.3 or later.\n\n### References\nNone at this time.\n\n### For more information\nIf you have any questions or comments about this advisory, please email us at [istio-security-vulnerability-reports@googlegroups.com](mailto:istio-security-vulnerability-reports@googlegroups.com)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/istio/istio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.15.0-beta.0"
}, {
"fixed" : "1.15.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/istio/istio/security/advisories/GHSA-6c6p-h79f-g6p4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39388"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/commit/346260e5115e9fbc65ba8a559bc686e6ca046a32"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/commit/9a643e270421560afb2630e00f76d46a55499df9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/istio/istio"
}, {
"type" : "WEB",
"url" : "https://istio.io/latest/news/releases/1.15.x/announcing-1.15.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-09T22:07:01Z",
"nvd_published_at" : "2022-11-10T20:15:00Z"
}
}