Every CVE Search/ Get API key

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,...

7.5 HighFix available

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

2.42%Up 1.0 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
varnish
Alpine:v3.10
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.11
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.12
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.13
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.14
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.15
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.16
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.17
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.18
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.19
before 5.1.3-r0
5.1.3-r0
Show 18 moreShow less
Affected packages
PackageAffectedFixed
varnish
Alpine:v3.20
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.21
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.22
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.23
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.24
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.3
before 4.1.2-r2
4.1.2-r2
varnish
Alpine:v3.4
before 4.1.2-r4
4.1.2-r4
varnish
Alpine:v3.5
before 4.1.3-r1
4.1.3-r1
varnish
Alpine:v3.6
before 4.1.3-r1
4.1.3-r1
varnish
Alpine:v3.7
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.8
before 5.1.3-r0
5.1.3-r0
varnish
Alpine:v3.9
before 5.1.3-r0
5.1.3-r0
varnish
Debian:12
before 5.0.0-7.1
5.0.0-7.1
varnish
Debian:13
before 5.0.0-7.1
5.0.0-7.1
varnish
Debian:8
before 4.0.2-1+deb8u1, plus listed versions
4.0.2-1
4.0.2-1+deb8u1
varnish
Debian:9
before 5.0.0-7+deb9u1, plus listed versions
5.0.0-7
5.0.0-7+deb9u1
varnish
Mageia:6
before 5.0.0-3.1.mga6
5.0.0-3.1.mga6
varnish
Ubuntu: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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 8 moreShow less
MoveEnter Open