Vulnerabilities in pkg:golang/github.com/istio/istio

PACKAGE
Advisory Identifier: GHSA-6c6p-h79f-g6p4
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/istio/istio

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/istio/istio. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6c6p-h79f-g6p4 CVE-2022-39388 HIGH Istio may allow identity impersonation if user has localhost access

CVE-2022-39388 at a Glance

CVE Identifier CVE-2022-39388
GHSA Identifier GHSA-6c6p-h79f-g6p4
Severity HIGH
CVSS v3.1 Base Score 7.6
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/istio/istio
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (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.

github.com/istio/istio fixed: 1.15.3
Upgrade github.com/istio/istio to 1.15.3
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/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

### Impact User can impersonate any workload identity within the service mesh if they have localhost access to the Istiod control plane. ### Patches 1.15.3 ### Workarounds No. If using 1.15.2 please upgrade to 1.15.3 or later. ### References None at this time. ### For more information If 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)

CVE-2022-39388 Affected Github.com/istio/istio Versions

1 component(s)
Fixed Versions:
1.15.3
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?
CVE-2022-39388 is a security vulnerability in Github.com/istio/istio involving Istio may allow identity impersonation if user has localhost access under CWE-863: Incorrect Authorization.
Which Github.com/istio/istio versions are affected?
Affected versions include releases prior to 1.15.3 across affected packages: github.com/istio/istio.
What version fixes CVE-2022-39388?
Upgrading to 1.15.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/istio/istio affected?
Yes, github.com/istio/istio is affected in releases prior to 1.15.3. Upgrade your dependency to 1.15.3 or later.
What is the CVSS score of CVE-2022-39388?
CVE-2022-39388 has a CVSS v3.1 base score of 7.6 (HIGH) with vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N.
What CWE is associated with CVE-2022-39388?
CVE-2022-39388 is classified under CWE-863: Incorrect Authorization (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.).
How can I check Go dependencies for CVE-2022-39388?
Run the dependency tree command: 'inspect dependencies for github.com/istio/istio'. 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-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"
  }
}