CVE-2021-36740
varnish: HTTP/2 request smuggling attack via a large Content-Length header for a POST request
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-444
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | varnish | >=5.0.0, <5.2.2>=6.1.0, <6.6.1 | 5.2.26.6.1 |
Open a package to see all its vulnerabilities.
Operating systems · 25 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | varnish-modules | 0.15.0-5.module+el8.3.0+7653+45014445 |
| 8 | varnish +2 | 6.0.6-2.module+el8.4.0+20258+f99218b2.1 |
Red Hat 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-varnish6-varnish-modules | 0:0.15.0-7.el7 | RHSA-2021:2993 |
| 7 | rh-varnish6-varnish +3 | 0:6.0.8-2.el7 | RHSA-2021:2993 |
| 8 (varnish:6) | varnish-modules | 0:0.15.0-4.module+el8+2481+4078e9d2 | RHSA-2021:2988 |
| 8 (varnish:6) | varnish-modules | 0:0.15.0-5.module+el8.3.0+6843+b3b42fcc | RHSA-2021:2988 |
| 8 (varnish:6) | varnish +2 | 0:6.0.2-2.module+el8.1.0+11974+ea5ba4f1 | RHSA-2021:2988 |
| 8 (varnish:6) | varnish +2 | 0:6.0.2-2.module+el8.2.0+11973+a748eca7 | RHSA-2021:2988 |
1 more row
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | varnish | 6.6.1-r0 |
| 3.23 | varnish | 6.6.1-r0 |
| 3.24 | varnish | 6.6.1-r0 |
| edge | varnish | 6.6.1-r0 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | varnish | 6.1.1-1+deb10u3 |
| 11 | varnish | 6.5.1-1+deb11u2 |
| 12 | varnish | 6.5.2-1 |
| 13 | varnish | 6.5.2-1 |
| 9 | varnish | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| varnish | 6.5.2-1 |
rocky 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (varnish:6) | varnish-modules | 0.15.0-5.module+el8.3.0+179+20b582cc |
| 8 (varnish:6) | varnish +2 | 6.0.6-2.module+el8.3.0+179+20b582cc |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-varnish | 6.5.1-1+deb11u2 |
| 12 | rootio-varnish | 6.5.2-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | varnish | 6.2.1-2ubuntu0.1 |
| 20.04-ESM | varnish | 6.2.1-2ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2021:2988
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-36740
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1982409
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-36740
- docs.varnish-software.com https://docs.varnish-software.com/security/VSV00007/
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:2988
- github.com https://github.com/varnishcache/varnish-cache/commit/82b0a629f60136e76112c6f2c6372cce77b683be
- github.com https://github.com/varnishcache/varnish-cache/commit/82b0a629f60136e76112c6f2c6372cce77b683be (6.5.2)
- github.com https://github.com/varnishcache/varnish-cache/commit/9be22198e258d0e7a5c41f4291792214a29405cf
Show all 20 references
- github.com https://github.com/varnishcache/varnish-cache/commit/9be22198e258d0e7a5c41f4291792214a29405cf (6.0.8)
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-36740.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-2988.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/THV2DQA2GS65HUCKK4KSD2XLN3AAQ2V5/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZHBNLDEOTGYRIEQZBWV7F6VPYS4O2AAK/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-36740
- ubuntu.com https://ubuntu.com/security/notices/USN-5474-1
- varnish-cache.org https://varnish-cache.org/security/VSV00007.html
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-36740
- www.debian.org https://www.debian.org/security/2022/dsa-5088
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.