CVE-2021-39155

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-39155
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39155.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-39155
Aliases
Related
Published
2021-08-24T23:15:07Z
Modified
2024-07-15T22:12:26.071844Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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, 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 guide.

References

Affected packages

Git / github.com/istio/istio

Affected ranges

Type
GIT
Repo
https://github.com/istio/istio
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.3.0
0.5.0
0.6.0

1.*

1.0.0
1.0.0-snapshot.0
1.0.0-snapshot.1
1.0.0-snapshot.2
1.1.0
1.1.0-rc.0
1.1.0-rc.1
1.1.0-rc.2
1.1.0-rc.3
1.1.0-rc.4
1.1.0-rc.5
1.1.0-rc.6
1.1.0-snapshot.2
1.1.0-snapshot.3
1.1.0-snapshot.4
1.1.0-snapshot.5
1.1.0-snapshot.6
1.1.0.snapshot.0
1.1.0.snapshot.1
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.0-rc.0
1.2.0-rc.3
1.5.0-alpha.0
1.5.0-beta.1
1.5.0-beta.2
1.6.0-alpha.0
1.6.0-alpha.1
1.6.0-alpha.2
1.7.0-alpha.0
1.9.0
1.9.0-beta.0
1.9.0-beta.1
1.9.0-rc.0
1.9.1
1.9.2
1.9.4
1.9.7