Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-36740

varnish: HTTP/2 request smuggling attack via a large Content-Length header for a POST request

Overview

Published
14 Jul 2021
Modified
17 Jun 2026
Medium CVE
1 Registry packages
10 OS packages
8 Linux distributions
Yes Fix available

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

Packages affected by CVE-2021-36740
EcosystemPackageVulnerableFixed 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

fixed 2
varnish-modules varnish
Oracle Linux fixes for CVE-2021-36740
ReleasePackageFixed 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

fixed 7
rh-varnish6-varnish-modules rh-varnish6-varnish varnish-modules varnish
Red Hat fixes for CVE-2021-36740
ReleasePackageFixed inAdvisory
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

fixed 4
varnish
alpine fixes for CVE-2021-36740
ReleasePackageFixed 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

fixed 4 affected 1
varnish
debian fixes for CVE-2021-36740
ReleasePackageFixed 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

fixed 1
varnish
echo fixes for CVE-2021-36740
ReleasePackageFixed in
varnish 6.5.2-1

rocky 1 release · 2 packages

fixed 2
varnish-modules varnish
rocky fixes for CVE-2021-36740
ReleasePackageFixed 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

fixed 2
rootio-varnish
root.io debian fixes for CVE-2021-36740
ReleasePackageFixed in
11 rootio-varnish 6.5.1-1+deb11u2
12 rootio-varnish 6.5.2-1

ubuntu 2 releases · 1 package

fixed 2
varnish
ubuntu fixes for CVE-2021-36740
ReleasePackageFixed in
20.04 varnish 6.2.1-2ubuntu0.1
20.04-ESM varnish 6.2.1-2ubuntu0.1

References

Show all 20 references

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.