CVE-2017-12425: 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.
High CVSS 7.5
- CVE id
- CVE-2017-12425
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Varnish Cache Runtimes and servers |
28 listed versions | not fixed yet |
How to fix it
No fix yet. No fixed Varnish Cache release is listed yet.
varnishd -V
- Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
- Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
- Install the patched Varnish Cache release (the varnish image tag or your packages) and restart varnishd.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2017-12425 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2017-12425
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1477222
- Web: https://bugzilla.suse.com/show_bug.cgi?id=1051917
- Web: https://github.com/varnishcache/varnish-cache/issues/2379
- Web: https://lists.debian.org/debian-security-announce/2017/msg00186.html
- Web: https://www.varnish-cache.org/security/VSV00001.html#vsv00001
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1477222
- Web: https://bugzilla.suse.com/show_bug.cgi?id=1051917
- Web: https://github.com/varnishcache/varnish-cache/issues/2379
- Web: https://lists.debian.org/debian-security-announce/2017/msg00186.html
- Web: https://www.varnish-cache.org/security/VSV00001.html#vsv00001
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.