Vulnerability · Published Jul 14, 2021 · Assigned by mitre
CVE-2021-36740
Medium 6.5
In plain English
A medium-severity security flaw in the varnish package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.6%top 24.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL authorization bypass via a large Content-Length header for a POST request. This affects Varnish Enterprise 6.0.x before 6.0.8r3, and Varnish Cache 5.x and 6.x before 6.5.2, 6.6.x before 6.6.1, and 6.0 LTS before 6.0.8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | varnish | 6.6.1-r0 | ALPINE-CVE-2021-36740 |
| Alpine:v3.21 | varnish | 6.6.1-r0 | ALPINE-CVE-2021-36740 |
| Alpine:v3.22 | varnish | 6.6.1-r0 | ALPINE-CVE-2021-36740 |
| Alpine:v3.23 | varnish | 6.6.1-r0 | ALPINE-CVE-2021-36740 |
| Alpine:v3.24 | varnish | 6.6.1-r0 | ALPINE-CVE-2021-36740 |
| Debian:12 | varnish | 6.5.2-1 | DEBIAN-CVE-2021-36740 |
| Debian:13 | varnish | 6.5.2-1 | DEBIAN-CVE-2021-36740 |
| Rocky Linux:8 | varnish | 0:6.0.6-2.module+el8.3.0+179+20b582cc | RLSA-2021:2988 |
| Rocky Linux:8 | varnish-modules | 0:0.15.0-5.module+el8.3.0+179+20b582cc | RLSA-2021:2988 |
| Ubuntu:22.04:LTS | varnish | 6.6.1-1ubuntu0.2 | USN-5474-1 |
Affected products (as reported)
References
- https://varnish-cache.org/security/VSV00007.html x_refsource_MISC
- https://docs.varnish-software.com/security/VSV00007/ x_refsource_MISC
- https://github.com/varnishcache/varnish-cache/commit/9be22198e258d0e7a5c41f4291792214a29405cf x_refsource_MISC
- https://github.com/varnishcache/varnish-cache/commit/82b0a629f60136e76112c6f2c6372cce77b683be x_refsource_MISC
- FEDORA-2021-36e10d3f9f vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-cf7585f0ca vendor-advisory, x_refsource_FEDORA
- DSA-5088 vendor-advisory, x_refsource_DEBIAN