CVE-2021-39155
CVSS V2 Medium 5
CVSS V3 High 7.5
Description
Istio is an open source platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. According to [RFC 4343](https://datatracker.ietf.org/doc/html/rfc4343), Istio authorization policy should compare the hostname in the HTTP Host header in a case insensitive way, but currently the comparison is case sensitive. The proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed. As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo". Patches are available in Istio 1.11.1, Istio 1.10.4 and Istio 1.9.8. As a work around a Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the [Security Best Practices](https://istio.io/latest/docs/ops/best-practices/security/#case-normalization) guide.
Overview
- CVE ID
- CVE-2021-39155
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-24T23:15:07
- Last Modified Date
- 2021-08-31T19:35:53
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:istio:istio:*:*:*:*:*:*:*:* | 1 | OR | 1.9.8 | |
cpe:2.3:a:istio:istio:*:*:*:*:*:*:*:* | 1 | OR | 1.10.0 | 1.10.4 |
cpe:2.3:a:istio:istio:*:*:*:*:*:*:*:* | 1 | OR | 1.11.0 | 1.11.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://datatracker.ietf.org/doc/html/rfc4343 | Third Party Advisory |
https://github.com/istio/istio/security/advisories/GHSA-7774-7vr3-cc8j | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-39155 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39155 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:55:30 | Added to TrackCVE | |||
2022-12-05 09:02:21 | 2021-08-24T23:15Z | 2021-08-24T23:15:07 | CVE Published Date | updated |
2022-12-05 09:02:21 | 2021-08-31T19:35:53 | CVE Modified Date | updated | |
2022-12-05 09:02:21 | Analyzed | Vulnerability Status | updated |