Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/istio/istio
  4. ›
  5. CVE-2022-21679

CVE-2022-21679: Always-Incorrect Control Flow Implementation

January 19, 2022 (updated January 27, 2022)

Istio is an open platform to connect, manage, and secure microservices. In Istio The authorization policy with hosts and notHosts might be accidentally bypassed for ALLOW action or rejected unexpectedly for DENY action during the upgrade from to /1.12.1. Istio supports the hosts and notHosts fields in authorization policy with a new Envoy API shipped with the data plane. A bug in the incorrectly uses the new Envoy API with the data plane. This will cause the hosts and notHosts fields to be always matched regardless of the actual value of the host header when mixing /1.12.1 control plane data plane. Users are advised to upgrade or to not mix the /1.12.1 control plane with data plane if using hosts or notHosts field in authorization policy.

References

  • github.com/istio/istio/security/advisories/GHSA-rwfr-xrvw-2rvv
  • istio.io/latest/news/releases/1.12.x/announcing-1.12.2/
  • nvd.nist.gov/vuln/detail/CVE-2022-21679

Code Behaviors & Features

Detect and mitigate CVE-2022-21679 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.12.0 up to 1.12.1

Fixed versions

  • 1.12.2

Solution

Upgrade to version 1.12.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-670: Always-Incorrect Control Flow Implementation

Source file

go/github.com/istio/istio/CVE-2022-21679.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.