CVE-2021-36740: Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL authorization bypass via a large Content-
52
This month
MEDIUM 6.5REMOTEWATCHLISTUPGRADEUPGRADEUPGRADE
CVE-2021-36740 is a medium-severity flaw (CVSS 6.5) affecting varnish cache, varnish cache, varnish cache. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
fedoraproject fedora MITIGATE
Affected: 33 · 34
Fixed in: no fixed release known
Safe to downgrade to: a release before 33
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
debian debian linux MITIGATE
Affected: 10.0 · 11.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-36740?
varnish cache: upgrade to 6.0.8; varnish cache: upgrade to newer than 6.0.7; varnish cache: upgrade to newer than 6.6.0. Exact commands for each OS are on this page.
Is CVE-2021-36740 being exploited?
CVE-2021-36740 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-36740 affect?
CVE-2021-36740 affects varnish cache, varnish cache, varnish cache. Severity is medium (CVSS 6.5). 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
How urgent is CVE-2021-36740?
Priority 52/100. Remotely exploitable, no login, no user action; On your watchlist
CVE-2022-45060HIGH 7.5UPGRADEDOWNGRADE An HTTP Request Forgery issue was discovered in Varnish Cache 5.x and 6.x before 6.0.11, 7.x before 7.1.2, and
CVE-2022-45059HIGH 7.5UPGRADEMITIGATE An issue was discovered in Varnish Cache 7.x before 7.1.2 and 7.2.x before 7.2.1
CVE-2022-38150HIGH 7.5DOWNGRADEMITIGATE In Varnish Cache 7.0.0, 7.0.1, 7.0.2, and 7.1.0, it is possible to cause the Varnish Server to assert and auto
CVE-2022-23959CRITICAL 9.1UPGRADEUPGRADE In Varnish Cache before 6.6.2 and 7.x before 7.0.2, Varnish Cache 6.0 LTS before 6.0.10, and and Varnish Enter
CVE-2020-11653HIGH 7.5UPGRADEUPGRADE An issue was discovered in Varnish Cache before 6.0.6 LTS, 6.1.x and 6.2.x before 6.2.3, and 6.3.x before 6.3.