CVE-2017-12425

Source
https://cve.org/CVERecord?id=CVE-2017-12425
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12425.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-12425
Downstream
Published
2017-08-04T09:29:00.237Z
Modified
2026-07-08T05:49:34.262680558Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "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:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/varnishcache/varnish-cache

Affected ranges

Type
GIT
Repo
https://github.com/varnishcache/varnish-cache
Events
Database specific
{
    "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"
        }
    ]
}

Affected versions

4.*
4.0.1
4.0.2
4.0.3
4.0.4
5.*
5.0.0
5.1.0
5.1.1
5.1.2
varnish-4.*
varnish-4.0.1
varnish-5.*
varnish-5.0.0
varnish-5.1.0
varnish-5.1.1
varnish-5.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12425.json"