CVE-2019-18802
envoy: malformed request header may cause bypass of route matchers resulting in escalation of privileges or information disclosure
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (high).
Description
An issue was discovered in Envoy 1.12.0. An untrusted remote client may send an HTTP header (such as Host) with whitespace after the header content. Envoy will treat "header-value " as a different string from "header-value" so for example with the Host header "example.com " one could bypass "example.com" matchers.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | envoy | 1.10.0-6.ph1 |
| Photon OS 2.0 | envoy | 1.10.0-6.ph2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00034.html
- https://access.redhat.com/security/cve/CVE-2019-18802
- https://blog.envoyproxy.io
- https://github.com/envoyproxy/envoy/commits/master
- https://github.com/envoyproxy/envoy/security/advisories/GHSA-356m-vhw2-wcm4
- https://groups.google.com/forum/#!topic/envoy-users/m7z5fGkCzPI
- https://groups.google.com/forum/#%21forum/envoy-users
- https://nvd.nist.gov/vuln/detail/CVE-2019-18802