CVE-2017-12425
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 5.0.0-7.1 |
| debian | bullseye | fixed | 5.0.0-7.1 |
| debian | forky | fixed | 5.0.0-7.1 |
| debian | sid | fixed | 5.0.0-7.1 |
| debian | trixie | fixed | 5.0.0-7.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| varnish-cache | varnish | 4.0.2 | |
| varnish-cache | varnish | 4.0.3 | |
| varnish_cache_project | varnish_cache | 4.0.1 | |
| varnish_cache_project | varnish_cache | 4.0.2 | |
| varnish_cache_project | varnish_cache | 4.0.3 | |
| varnish_cache_project | varnish_cache | 4.0.4 | |
| varnish-cache | varnish | 4.1.0 | |
| varnish-software | varnish_cache | 4.1.0 | |
| varnish-software | varnish_cache | 4.1.1 | |
| varnish-software | varnish_cache | 4.1.2 | |
| varnish-software | varnish_cache | 4.1.3 | |
| varnish-software | varnish_cache | 4.1.4 | |
| varnish-software | varnish_cache | 4.1.5 | |
| varnish-software | varnish_cache | 4.1.6 | |
| varnish-software | varnish_cache | 4.1.7 | |
| varnish_cache_project | varnish_cache | 5.0.0 | |
| varnish_cache_project | varnish_cache | 5.1.0 | |
| varnish_cache_project | varnish_cache | 5.1.1 | |
| varnish_cache_project | varnish_cache | 5.1.2 | |
References
- http://www.debian.org/security/2017/dsa-3924
- https://bugzilla.redhat.com/show_bug.cgi?id=1477222
- https://bugzilla.suse.com/show_bug.cgi?id=1051917
- https://github.com/varnishcache/varnish-cache/issues/2379
- https://lists.debian.org/debian-security-announce/2017/msg00186.html
- https://www.varnish-cache.org/security/VSV00001.html#vsv00001
- https://security-tracker.debian.org/tracker/CVE-2017-12425
CWEs
CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.