Description
An issue was discovered in Varnish HTTP Cache 4.0.1 through 4.0.4, 4.1.0 through 4.1.7, 5.0.0, and 5.1.0 through 5.1.2. A wrong if statement in the varnishd source code means that particular invalid requests from the client can trigger an assert, related to an Integer Overflow. This causes the varnishd worker process to abort and restart, losing the cached contents in the process. An attacker can therefore crash the varnishd worker process on demand and effectively keep it from serving content - a Denial-of-Service attack. The specific source-code filename containing the incorrect statement varies across releases.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | varnish | 5.0.0-7.1 | — |
| Debian 12 | varnish | 5.0.0-7.1 | — |
| Debian 9 | varnish | 5.0.0-7+deb9u1 | DSA-3924-1 |
| Debian 8 | varnish | 4.0.2-1+deb8u1 | DSA-3924-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | varnish | 4.1.1-1ubuntu0.2 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | varnish | 5.1.3-r0 | — |
| Alpine v3.23 | varnish | 5.1.3-r0 | — |
| Alpine v3.22 | varnish | 5.1.3-r0 | — |
| Alpine v3.21 | varnish | 5.1.3-r0 | — |
| Alpine v3.20 | varnish | 5.1.3-r0 | — |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | varnish | 5.1.3-r0 | — |
| Alpine v3.18 | varnish | 5.1.3-r0 | — |
| Alpine v3.17 | varnish | 5.1.3-r0 | — |
| Alpine v3.16 | varnish | 5.1.3-r0 | — |
| Alpine v3.15 | varnish | 5.1.3-r0 | — |
| Alpine v3.14 | varnish | 5.1.3-r0 | — |
| Alpine v3.13 | varnish | 5.1.3-r0 | — |
| Alpine v3.12 | varnish | 5.1.3-r0 | — |
| Alpine v3.11 | varnish | 5.1.3-r0 | — |
| Alpine v3.10 | varnish | 5.1.3-r0 | — |
| Alpine v3.9 | varnish | 5.1.3-r0 | — |
| Alpine v3.8 | varnish | 5.1.3-r0 | — |
| Alpine v3.7 | varnish | 5.1.3-r0 | — |
| Alpine v3.6 | varnish | 4.1.3-r1 | — |
| Alpine v3.5 | varnish | 4.1.3-r1 | — |
| Alpine v3.4 | varnish | 4.1.2-r4 | — |
| Alpine v3.3 | varnish | 4.1.2-r2 | — |
Advisories 1
- DSA-3924-1 varnish - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://www.varnish-cache.org/security/VSV00001.html#vsv00001
- https://lists.debian.org/debian-security-announce/2017/msg00186.html
- DSA-3924 vendor-advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1051917
- https://bugzilla.redhat.com/show_bug.cgi?id=1477222
- https://github.com/varnishcache/varnish-cache/issues/2379