CVE-2021-36740
varnish: HTTP/2 request smuggling attack via a large Content-Length header for a POST request
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Varnish Cache, con HTTP/2 habilitado, permite el contrabando de peticiones y la omisión de autorización de VCL por medio de un encabezado Content-Length grande para una petición POST. Esto afecta a Varnish Enterprise versiones 6.0.x anteriores a 6.0.8r3, y Varnish Cache versiones 5.xy 6.x anteriores a 6.5.2, versiones 6.6.x anteriores a 6.6.1 y versiones 6.0 LTS anteriores a 6.0.8
A flaw was found in Varnish. The Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL authorization bypass via a large Content-Length header for a POST request. As a result, this flaw allows the information on the Varnish cache to be poisoned. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
It was dicovered that Varnish Cache did not clear a pointer between the handling of one client request and the next request within the same connection. A remote attacker could possibly use this issue to obtain sensitive information. It was discovered that Varnish Cache could have an assertion failure when a TLS termination proxy uses PROXY version 2. A remote attacker could possibly use this issue to restart the daemon and cause a performance loss.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-07-14 CVE Reserved
- 2021-07-14 CVE Published
- 2024-08-04 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
CAPEC
References (9)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Varnish-cache Search vendor "Varnish-cache" | Varnish Cache Search vendor "Varnish-cache" for product "Varnish Cache" | >= 6.0.0 < 6.0.8 Search vendor "Varnish-cache" for product "Varnish Cache" and version " >= 6.0.0 < 6.0.8" | plus |
Affected
| ||||||
Varnish-cache Search vendor "Varnish-cache" | Varnish Cache Search vendor "Varnish-cache" for product "Varnish Cache" | 6.0.8 Search vendor "Varnish-cache" for product "Varnish Cache" and version "6.0.8" | r1, plus |
Affected
| ||||||
Varnish-cache Search vendor "Varnish-cache" | Varnish Cache Search vendor "Varnish-cache" for product "Varnish Cache" | 6.0.8 Search vendor "Varnish-cache" for product "Varnish Cache" and version "6.0.8" | r2, plus |
Affected
| ||||||
Varnish-software Search vendor "Varnish-software" | Varnish Cache Search vendor "Varnish-software" for product "Varnish Cache" | >= 6.0.0 <= 6.0.5 Search vendor "Varnish-software" for product "Varnish Cache" and version " >= 6.0.0 <= 6.0.5" | - |
Affected
| ||||||
Varnish-software Search vendor "Varnish-software" | Varnish Cache Search vendor "Varnish-software" for product "Varnish Cache" | >= 6.0.0 <= 6.0.7 Search vendor "Varnish-software" for product "Varnish Cache" and version " >= 6.0.0 <= 6.0.7" | lts |
Affected
| ||||||
Varnish Cache Project Search vendor "Varnish Cache Project" | Varnish Cache Search vendor "Varnish Cache Project" for product "Varnish Cache" | >= 5.0.0 <= 5.2.1 Search vendor "Varnish Cache Project" for product "Varnish Cache" and version " >= 5.0.0 <= 5.2.1" | - |
Affected
| ||||||
Varnish Cache Project Search vendor "Varnish Cache Project" | Varnish Cache Search vendor "Varnish Cache Project" for product "Varnish Cache" | >= 6.1.0 <= 6.6.0 Search vendor "Varnish Cache Project" for product "Varnish Cache" and version " >= 6.1.0 <= 6.6.0" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 33 Search vendor "Fedoraproject" for product "Fedora" and version "33" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 34 Search vendor "Fedoraproject" for product "Fedora" and version "34" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 11.0 Search vendor "Debian" for product "Debian Linux" and version "11.0" | - |
Affected
|