USN-7372-1: Varnish vulnerability

Publication date

26 March 2025

Overview

Varnish could allow unintended access to network services.


Packages

  • varnish - state of the art, high-performance web accelerator

Details

Martin van Kervel Smedshammer discovered that Varnish did not properly
sanitize certain HTTP headers. A remote attacker could possibly use this
issue to perform a cross-site request forgery (CSRF) attack.

Martin van Kervel Smedshammer discovered that Varnish did not properly
sanitize certain HTTP headers. A remote attacker could possibly use this
issue to perform a cross-site request forgery (CSRF) attack.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy libvarnishapi2 –  6.6.1-1ubuntu0.2+esm1  
varnish –  6.6.1-1ubuntu0.2+esm1  
20.04 focal libvarnishapi2 –  6.2.1-2ubuntu0.2+esm1  
varnish –  6.2.1-2ubuntu0.2+esm1  
18.04 bionic libvarnishapi1 –  5.2.1-1ubuntu0.1+esm1  
varnish –  5.2.1-1ubuntu0.1+esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›