CVE-2017-12425
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.42% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-190
- Affected
- varnish-cache/varnish · varnish cache project/varnish cache · varnish-software/varnish cache
- Source
- cve@mitre.org
References
- http://www.debian.org/security/2017/dsa-3924
- https://bugzilla.redhat.com/show_bug.cgi?id=1477222Issue Tracking, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1051917Issue Tracking, Third Party Advisory
- https://github.com/varnishcache/varnish-cache/issues/2379Third Party Advisory
- https://lists.debian.org/debian-security-announce/2017/msg00186.htmlMailing List, Third Party Advisory
- https://www.varnish-cache.org/security/VSV00001.html#vsv00001Vendor Advisory
- http://www.debian.org/security/2017/dsa-3924
- https://bugzilla.redhat.com/show_bug.cgi?id=1477222Issue Tracking, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1051917Issue Tracking, Third Party Advisory
- https://github.com/varnishcache/varnish-cache/issues/2379Third Party Advisory
- https://lists.debian.org/debian-security-announce/2017/msg00186.htmlMailing List, Third Party Advisory
- https://www.varnish-cache.org/security/VSV00001.html#vsv00001Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.