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,...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2017-12425- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-12425- Updated
- 2026-11-02
EUVDEUVD-2017-3998 No score
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.
- Record
EUVD-2017-3998- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jhqh-84v8-3cw2
7.5
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,...
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.
- Record
GHSA-jhqh-84v8-3cw2- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-12425
7.5
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.
- Record
ALPINE-CVE-2017-12425- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2017-12425- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-12425
7.5
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.
- Record
DEBIAN-CVE-2017-12425- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-12425
7.5
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.
- Record
UBUNTU-CVE-2017-12425- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0253 No score
Updated varnish packages fix security vulnerability
A denial of service vulnerability was discovered in Varnish, a state of the art, high-performance web accelerator. Specially crafted HTTP requests can cause the Varnish daemon to assert and restart, clearing the cache in the process (CVE-2017-12425).
- Record
MGASA-2017-0253- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
varnishAlpine:v3.10 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.11 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.12 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.13 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.14 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.15 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.16 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.17 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.18 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.19 |
before 5.1.3-r0 | 5.1.3-r0 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
varnishAlpine:v3.20 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.21 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.22 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.23 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.24 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.3 |
before 4.1.2-r2 | 4.1.2-r2 |
varnishAlpine:v3.4 |
before 4.1.2-r4 | 4.1.2-r4 |
varnishAlpine:v3.5 |
before 4.1.3-r1 | 4.1.3-r1 |
varnishAlpine:v3.6 |
before 4.1.3-r1 | 4.1.3-r1 |
varnishAlpine:v3.7 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.8 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishAlpine:v3.9 |
before 5.1.3-r0 | 5.1.3-r0 |
varnishDebian:12 |
before 5.0.0-7.1 | 5.0.0-7.1 |
varnishDebian:13 |
before 5.0.0-7.1 | 5.0.0-7.1 |
varnishDebian:8 |
before 4.0.2-1+deb8u1, plus listed versions 4.0.2-1 |
4.0.2-1+deb8u1 |
varnishDebian:9 |
before 5.0.0-7+deb9u1, plus listed versions 5.0.0-7 |
5.0.0-7+deb9u1 |
varnishMageia:6 |
before 5.0.0-3.1.mga6 | 5.0.0-3.1.mga6 |
varnishUbuntu:16.04:LTS |
before 4.1.1-1ubuntu0.2, plus listed versions 4.0.3-14.1.0-14.1.0-24.1.1-1 |
4.1.1-1ubuntu0.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-12425 is a high vulnerability (CVSS 7.5) in Varnish-cache Varnish, published August 2, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.42%, the 84th percentile. Fixed in varnish 5.1.3-r0.
References
varnish-cache.org/security/VSV00001.html
lists.debian.org/debian-security-announce/2017/msg00186.html
debian.org/security/2017/dsa-3924
bugzilla.suse.com/show_bug.cgi?id=1051917
bugzilla.redhat.com/show_bug.cgi?id=1477222
github.com/varnishcache/varnish-cache/issues/2379
Show 8 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-12425
github.com/advisories/GHSA-jhqh-84v8-3cw2
security.alpinelinux.org/vuln/CVE-2017-12425
security-tracker.debian.org/tracker/CVE-2017-12425
advisories.mageia.org/MGASA-2017-0253.html
bugs.mageia.org/show_bug.cgi?id=21449
ubuntu.com/security/CVE-2017-12425
cve.org/CVERecord?id=CVE-2017-12425