CVE-2017-12425: Integer Overflow

Published Aug 1, 2017
·
Updated

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.

Other sources

Missing check for integer overflow was found in the code handling chunk sizes in HTTP requests. The vulnerability opens up for denial of service (DOS) attacks by a specially crafted HTTP request, which will cause the Varnish daemon to assert and restart, clearing the cache in the process. There is no risk for information leakage or remote execution. The vulnerability is present in all releases of Varnish Cache since version 4.0.1.

Red Hat

Affected Software

37 affected componentsFixes available
redhat/varnish<4.0.5
4.0.5
redhat/varnish<4.1.8
4.1.8
redhat/varnish<5.1.3
5.1.3
Varnish-cache Varnish=4.0.2-rc-1
Varnish-cache Varnish=4.0.3-rc-1
Varnish-cache Varnish=4.0.3-rc-2
Varnish-cache Varnish=4.0.3-rc-2-proper
Varnish-cache Varnish=4.0.3-rc-3
Varnish Cache Project Varnish Cache=4.0.1
Varnish Cache Project Varnish Cache=4.0.2
Varnish Cache Project Varnish Cache=4.0.3
Varnish Cache Project Varnish Cache=4.0.4
Varnish-cache Varnish=4.1.0
Varnish-software Varnish Cache=4.1.0-beta1
Varnish-software Varnish Cache=4.1.0-technology_preview1
Varnish-software Varnish Cache=4.1.1
Varnish-software Varnish Cache=4.1.1-beta1
Varnish-software Varnish Cache=4.1.1-beta2
Varnish-software Varnish Cache=4.1.2
Varnish-software Varnish Cache=4.1.2-beta1
Varnish-software Varnish Cache=4.1.2-beta2
Varnish-software Varnish Cache=4.1.3
Varnish-software Varnish Cache=4.1.3-beta1
Varnish-software Varnish Cache=4.1.3-beta2
Varnish-software Varnish Cache=4.1.4
Varnish-software Varnish Cache=4.1.4-beta1
Varnish-software Varnish Cache=4.1.4-beta2
Varnish-software Varnish Cache=4.1.4-beta3
Varnish-software Varnish Cache=4.1.5
Varnish-software Varnish Cache=4.1.5-beta1
Varnish-software Varnish Cache=4.1.5-beta2
Varnish-software Varnish Cache=4.1.6
Varnish-software Varnish Cache=4.1.7
Varnish Cache Project Varnish Cache=5.0.0
Varnish Cache Project Varnish Cache=5.1.0
Varnish Cache Project Varnish Cache=5.1.1
Varnish Cache Project Varnish Cache=5.1.2

Event History

Aug 4, 2017
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-12425?

CVE-2017-12425 is classified as a medium severity vulnerability due to its potential to cause application crashes.

2

How do I fix CVE-2017-12425?

To fix CVE-2017-12425, upgrade Varnish HTTP Cache to version 4.0.5, 4.1.8, or 5.1.3 or later.

3

Which versions of Varnish HTTP Cache are affected by CVE-2017-12425?

CVE-2017-12425 affects Varnish HTTP Cache versions 4.0.1 through 4.0.4, 4.1.0 through 4.1.7, and versions 5.0.0 and 5.1.0 through 5.1.2.

4

What kind of issue does CVE-2017-12425 represent?

CVE-2017-12425 represents a coding error that can cause an integer overflow and subsequent application assertion failures.

5

What is the impact of CVE-2017-12425 on users?

Users of affected Varnish versions may experience potential system instability and unexpected crashes when processing invalid client requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203