Inconsistent interpretation of HTTP requests in Varnish Cache - CVE-2022-45059
Published: November 8, 2022 / Updated: November 28, 2022
Vulnerability details
The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.
The vulnerability exists due to improper validation of HTTP requests. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers. Among the headers that can be filtered this way are both Content-Length</code> and <code>Host, making it possible for an attacker to both break the HTTP/1 protocol framing, and bypass request to host routing in VCL.
Affected software
openEuler
Fedora
varnish-modules
varnish
varnish-help
varnish-debuginfo
varnish-debugsource
varnish-devel
How to mitigate CVE-2022-45059
varnish-modules - update to 0.20.0-4.fc37
varnish - addressed in versions 6.6.2-3.fc35, 7.0.3-2.fc36, 7.1.2-1.fc37
varnish-help - addressed in versions 7.0.1-8, 7.0.1-9
varnish-debuginfo - addressed in versions 7.0.1-8, 7.0.1-9
varnish-debugsource - addressed in versions 7.0.1-8, 7.0.1-9
varnish-devel - addressed in versions 7.0.1-8, 7.0.1-9
varnish - addressed in versions 7.0.1-8, 7.0.1-9