Description
### Impact
Envoy and Go HTTP/2 protocol stack is vulnerable to the "Rapid Reset" class of exploits, which send a sequence of HEADERS frames optionally followed by RST_STREAM frames.
This can be exercised if you use the builtin gateway and receive untrusted http2 traffic.
### Patches
https://github.com/kumahq/kuma/pull/8023
https://github.com/kumahq/kuma/pull/8001
https://github.com/kumahq/kuma/pull/8034
### Workarounds
Disable http2 on the gateway listener with a MeshProxyPatch or ProxyTemplate.
### References
https://github.com/advisories/GHSA-qppj-fm5r-hxr3
https://github.com/golang/go/issues/63417
https://github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76
https://cloud.google.com/blog/products/identity-security/how-it-works-the-novel-http2-rapid-reset-ddos-attack
https://www.nginx.com/blog/http-2-rapid-reset-attack-impacting-f5-nginx-products/?sf269548684=1
https://www.envoyproxy.io/docs/envoy/latest/configuration/best_practices/edge
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/kumahq/kuma | >= 2.4.0, < 2.4.3 | 2.4.3 | GHSA-9wmc-rg4h-28wv |
| Go | github.com/kumahq/kuma | >= 2.3.0, < 2.3.3 | 2.3.3 | GHSA-9wmc-rg4h-28wv |
| Go | github.com/kumahq/kuma | >= 2.2.0, < 2.2.4 | 2.2.4 | GHSA-9wmc-rg4h-28wv |
| Go | github.com/kumahq/kuma | >= 2.1.0, < 2.1.8 | 2.1.8 | GHSA-9wmc-rg4h-28wv |
| Go | github.com/kumahq/kuma | < 2.0.8 | 2.0.8 | GHSA-9wmc-rg4h-28wv |
References
- https://github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76 web
- https://github.com/kumahq/kuma/security/advisories/GHSA-9wmc-rg4h-28wv web
- https://github.com/golang/go/issues/63417 web
- https://github.com/kumahq/kuma/pull/8001 web
- https://github.com/kumahq/kuma/pull/8023 web
- https://github.com/kumahq/kuma/pull/8034 web
- https://cloud.google.com/blog/products/identity-security/how-it-works-the-novel-http2-rapid-reset-ddos-attack web
- https://github.com/advisories/GHSA-qppj-fm5r-hxr3 advisory
- https://github.com/kumahq/kuma package
- https://www.envoyproxy.io/docs/envoy/latest/configuration/best_practices/edge web
- https://www.nginx.com/blog/http-2-rapid-reset-attack-impacting-f5-nginx-products/?sf269548684=1 web