ID CVE-2021-36740
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:varnish-cache:varnish_cache:*:*:*:*:plus:*:*:*
    cpe:2.3:a:varnish-cache:varnish_cache:*:*:*:*:plus:*:*:*
  • cpe:2.3:a:varnish-cache:varnish_cache:6.0.8:r2:*:*:plus:*:*:*
    cpe:2.3:a:varnish-cache:varnish_cache:6.0.8:r2:*:*:plus:*:*:*
  • cpe:2.3:a:varnish-cache:varnish_cache:6.0.8:r1:*:*:plus:*:*:*
    cpe:2.3:a:varnish-cache:varnish_cache:6.0.8:r1:*:*:plus:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.0.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.0.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.0:-:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.0:-:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:5.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish_cache_project:varnish_cache:6.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:varnish_cache_project:varnish_cache:6.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.0:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.1:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.2:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.2:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.3:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.3:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.4:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.4:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.5:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.5:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.6:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.6:*:*:*:lts:*:*:*
  • cpe:2.3:a:varnish-software:varnish_cache:6.0.7:*:*:*:lts:*:*:*
    cpe:2.3:a:varnish-software:varnish_cache:6.0.7:*:*:*:lts:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CVSS
Base: 6.4 (as of 02-08-2022 - 19:12)
Impact:
Exploitability:
CWE CWE-444
CAPEC
  • HTTP Request Splitting
    HTTP Request Splitting (also known as HTTP Request Smuggling) is an attack pattern where an attacker attempts to insert additional HTTP requests in the body of the original (enveloping) HTTP request in such a way that the browser interprets it as one request but the web server interprets it as two. There are several ways to perform HTTP request splitting attacks. One way is to include double Content-Length headers in the request to exploit the fact that the devices parsing the request may each use a different header. Another way is to submit an HTTP request with a "Transfer Encoding: chunked" in the request header set with setRequestHeader to allow a payload in the HTTP Request that can be considered as another HTTP Request by a subsequent parsing entity. A third way is to use the "Double CR in an HTTP header" technique. There are also a few less general techniques targeting specific parsing vulnerabilities in certain web servers.
  • HTTP Request Smuggling
    HTTP Request Smuggling results from the discrepancies in parsing HTTP requests between HTTP entities such as web caching proxies or application firewalls. Entities such as web servers, web caching proxies, application firewalls or simple proxies often parse HTTP requests in slightly different ways. Under specific situations where there are two or more such entities in the path of the HTTP request, a specially crafted request is seen by two attacked entities as two different sets of requests. This allows certain requests to be smuggled through to a second entity without the first one realizing it.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL NONE
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:N
Last major update 02-08-2022 - 19:12
Published 14-07-2021 - 17:15
Last modified 02-08-2022 - 19:12
Back to Top