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.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:varnish-cache:varnish:4.0.2:rc-1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-cache:varnish:4.0.3:rc-1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-cache:varnish:4.0.3:rc-2-proper:*:*:*:*:*:*",
"cpe:2.3:a:varnish-cache:varnish:4.0.3:rc-2:*:*:*:*:*:*",
"cpe:2.3:a:varnish-cache:varnish:4.0.3:rc-3:*:*:*:*:*:*",
"cpe:2.3:a:varnish-cache:varnish:4.1.0:*:*:*:*:*:*:*"
],
"source": "CPE_STRING",
"vendor_product": "varnish-cache:varnish",
"extracted_events": [
{
"introduced": "4.0.2-rc\\-1"
},
{
"last_affected": "4.0.2-rc\\-1"
},
{
"introduced": "4.0.3-rc\\-1"
},
{
"last_affected": "4.0.3-rc\\-1"
},
{
"introduced": "4.0.3-rc\\-2"
},
{
"last_affected": "4.0.3-rc\\-2"
},
{
"introduced": "4.0.3-rc\\-2\\-proper"
},
{
"last_affected": "4.0.3-rc\\-2\\-proper"
},
{
"introduced": "4.0.3-rc\\-3"
},
{
"last_affected": "4.0.3-rc\\-3"
},
{
"introduced": "4.1.0"
},
{
"last_affected": "4.1.0"
}
]
},
{
"extracted_events": [
{
"introduced": "4.1.0-beta1"
},
{
"last_affected": "4.1.0-beta1"
},
{
"introduced": "4.1.0-technology_preview1"
},
{
"last_affected": "4.1.0-technology_preview1"
},
{
"introduced": "4.1.1"
},
{
"last_affected": "4.1.1"
},
{
"introduced": "4.1.1-beta1"
},
{
"last_affected": "4.1.1-beta1"
},
{
"introduced": "4.1.1-beta2"
},
{
"last_affected": "4.1.1-beta2"
},
{
"introduced": "4.1.2"
},
{
"last_affected": "4.1.2"
},
{
"introduced": "4.1.2-beta1"
},
{
"last_affected": "4.1.2-beta1"
},
{
"introduced": "4.1.2-beta2"
},
{
"last_affected": "4.1.2-beta2"
},
{
"introduced": "4.1.3"
},
{
"last_affected": "4.1.3"
},
{
"introduced": "4.1.3-beta1"
},
{
"last_affected": "4.1.3-beta1"
},
{
"introduced": "4.1.3-beta2"
},
{
"last_affected": "4.1.3-beta2"
},
{
"introduced": "4.1.4"
},
{
"last_affected": "4.1.4"
},
{
"introduced": "4.1.4-beta1"
},
{
"last_affected": "4.1.4-beta1"
},
{
"introduced": "4.1.4-beta2"
},
{
"last_affected": "4.1.4-beta2"
},
{
"introduced": "4.1.4-beta3"
},
{
"last_affected": "4.1.4-beta3"
},
{
"introduced": "4.1.5"
},
{
"last_affected": "4.1.5"
},
{
"introduced": "4.1.5-beta1"
},
{
"last_affected": "4.1.5-beta1"
},
{
"introduced": "4.1.5-beta2"
},
{
"last_affected": "4.1.5-beta2"
},
{
"introduced": "4.1.6"
},
{
"last_affected": "4.1.6"
},
{
"introduced": "4.1.7"
},
{
"last_affected": "4.1.7"
}
],
"source": "CPE_STRING",
"vendor_product": "varnish-software:varnish_cache",
"cpes": [
"cpe:2.3:a:varnish-software:varnish_cache:4.1.0:beta1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.0:technology_preview1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.1:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.1:beta1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.1:beta2:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.2:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.2:beta1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.2:beta2:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.3:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.3:beta1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.3:beta2:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.4:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.4:beta1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.4:beta2:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.4:beta3:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.5:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.5:beta1:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.5:beta2:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.6:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish-software:varnish_cache:4.1.7:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "4.0.1"
},
{
"last_affected": "4.0.1"
}
],
"source": "CPE_STRING",
"vendor_product": "varnish_cache_project:varnish_cache",
"cpes": [
"cpe:2.3:a:varnish_cache_project:varnish_cache:4.0.1:*:*:*:*:*:*:*"
]
}
]
}{
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:varnish_cache_project:varnish_cache:4.0.1:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:4.0.2:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:4.0.3:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:4.0.4:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:5.0.0:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.0:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.1:*:*:*:*:*:*:*",
"cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.2:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "4.0.1"
},
{
"last_affected": "4.0.1"
},
{
"introduced": "4.0.2"
},
{
"last_affected": "4.0.2"
},
{
"introduced": "4.0.3"
},
{
"last_affected": "4.0.3"
},
{
"introduced": "4.0.4"
},
{
"last_affected": "4.0.4"
},
{
"introduced": "5.0.0"
},
{
"last_affected": "5.0.0"
},
{
"introduced": "5.1.0"
},
{
"last_affected": "5.1.0"
},
{
"introduced": "5.1.1"
},
{
"last_affected": "5.1.1"
},
{
"introduced": "5.1.2"
},
{
"last_affected": "5.1.2"
}
]
}