CVE-2020-16844: Istio.io/istio Authorization Bypass Vulnerability
MODERATECVE-2020-16844 is a MODERATE (CVSS 6.8) authorization bypass vulnerability (CWE-284: Improper Access Control) affecting Istio.io/istio libraries in the Go ecosystem. The issue involves authorization bypass in istio. Remediation is available by upgrading affected packages to version 1.5.9, 1.6.8.
CVE-2020-16844 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2020-16844
To remediate this vulnerability, upgrade all affected Istio.io/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 istio.io/istio to 1.5.9
Upgrade istio.io/istio to 1.6.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for istio.io/istio
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-16844, inspect your project dependencies for Istio.io/istio:
inspect dependencies for istio.io/istio
Analyze the terminal output to locate any version of Istio.io/istio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.9), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Istio.io/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-2020-16844 Affected Istio.io/istio Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
istio.io/istio
|
Go |
≥ 1.5.0
< 1.5.9
|
1.5.9
|
|
istio.io/istio
|
Go |
≥ 1.6.0
< 1.6.8
|
1.6.8
|
References
Frequently Asked Questions
What is CVE-2020-16844?
Which Istio.io/istio versions are affected?
What version fixes CVE-2020-16844?
Is istio.io/istio affected?
What is the CVSS score of CVE-2020-16844?
What CWE is associated with CVE-2020-16844?
How can I check Go dependencies for CVE-2020-16844?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-82mm-ffjr-h86c",
"modified" : "2023-10-02T13:07:29Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2020-16844" ],
"summary" : "Authorization bypass in Istio",
"details" : "In Istio 1.5.0 though 1.5.8 and Istio 1.6.0 through 1.6.7, when users specify an AuthorizationPolicy resource with DENY actions using wildcard suffixes (e.g. *-some-suffix) for source principals or namespace fields, callers will never be denied access, bypassing the intended policy.\n\n### Specific Go Packages Affected\nistio.io/istio/pilot/pkg/security/authz/model/matcher",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "istio.io/istio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.0"
}, {
"fixed" : "1.5.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "istio.io/istio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.0"
}, {
"fixed" : "1.6.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-16844"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/commit/4c73414556b83f0e75c1b3a0a89a23103a71573c"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/commit/72d2e135374f421b656d6f1a21f474db46134ace"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/releases"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/releases/tag/1.5.9"
}, {
"type" : "WEB",
"url" : "https://github.com/istio/istio/releases/tag/1.6.8"
}, {
"type" : "WEB",
"url" : "https://istio.io/latest/news/releases/1.5.x/announcing-1.5.9"
}, {
"type" : "WEB",
"url" : "https://istio.io/latest/news/releases/1.6.x/announcing-1.6.8"
}, {
"type" : "WEB",
"url" : "https://istio.io/latest/news/security/istio-security-2020-009"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-12T21:59:07Z",
"nvd_published_at" : null
}
}