Skip to content
OpenAdvisories
Unscored CVE-2017-12425 EUVD-2017-3998GHSA-jhqh-84v8-3cw2

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 statemen…

Published Aug 4, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS varnish 4.1.1-1ubuntu0.2 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

References