Integer Overflow or Wraparound Affecting varnish-cache package, versions [,4.0.5)[4.1.0, 4.1.8)[5.1.0, 5.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.02% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VARNISHCACHE-2370247
  • published26 Jan 2022
  • disclosed4 Aug 2017
  • creditUnknown

Introduced: 4 Aug 2017

CVE-2017-12425  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade varnish-cache to version 4.0.5, 4.1.8, 5.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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 Scores

version 3.1