CVE-2017-12425

NameCVE-2017-12425
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3924-1
Debian Bugs870467

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
varnish (PTS)jessie, jessie (lts)4.0.2-1+deb8u1fixed
stretch (security), stretch (lts), stretch5.0.0-7+deb9u3fixed
buster6.1.1-1+deb10u3fixed
buster (security)6.1.1-1+deb10u4fixed
bullseye (security), bullseye6.5.1-1+deb11u3fixed
bookworm7.1.1-1.1fixed
sid, trixie7.1.1-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
varnishsourcewheezy(not affected)
varnishsourcejessie4.0.2-1+deb8u1DSA-3924-1
varnishsourcestretch5.0.0-7+deb9u1DSA-3924-1
varnishsource(unstable)5.0.0-7.1870467

Notes

[wheezy] - varnish <not-affected> (code path is not exposed to clients)
https://www.varnish-cache.org/security/VSV00001.html#vsv00001
https://github.com/varnishcache/varnish-cache/issues/2379
https://github.com/varnishcache/varnish-cache/commit/09731b24b2225e3c0d66d3ec1b4fedef6fa22b6e

Search for package or bug name: Reporting problems