GHSA-47xh-qxqv-mgvg kube-httpcache is vulnerable to Cross-Site Request Forgery (CSRF)
- Exploited in the wild
- Not known
- Fix
- Available
What is GHSA-47xh-qxqv-mgvg?
GHSA-47xh-qxqv-mgvg is a vulnerability in github.com/mittwald/kube-httpcache, published on 2 Dec 2022.
Official description
Impact
> A request forgery attack can be performed on Varnish Cache servers that have the HTTP/2 protocol turned on. An attacker may introduce characters through the HTTP/2 pseudo-headers that are invalid in the context of an HTTP/1 request line, causing the Varnish server to produce invalid HTTP/1 requests to the backend. This may in turn be used to successfully exploit vulnerabilities in a server behind the Varnish server. > – https://varnish-cache.org/security/VSV00011.html#vsv00011
Patches
This is fixed in Varnish 6.0.11; Varnish 6.0.11 is available in kube-httpcache versions v0.7.1 and later.
Workarounds
See upstream mitigation hints.
References
Which versions are affected by GHSA-47xh-qxqv-mgvg?
2 open source packages ship an affected version, including github.com/mittwald/kube-httpcache.
| Package | Affected | Fixed in |
|---|---|---|
github.com/mittwald/kube-httpcache Go | All versions | 0.7.1 |
github.com/mittwald/kube-httpcache Go | All versions | 0.7.1 |
How do I fix GHSA-47xh-qxqv-mgvg?
Upgrade github.com/mittwald/kube-httpcache to 0.7.1 or later.
Is GHSA-47xh-qxqv-mgvg being exploited?
There is no known exploitation of GHSA-47xh-qxqv-mgvg in the wild and no public exploit code.