Lucene search

K
redhatcveRedhat.comRH:CVE-2021-36740
HistoryJul 14, 2021 - 7:25 p.m.

CVE-2021-36740

2021-07-1419:25:13
redhat.com
access.redhat.com
48
varnish cache
http/2
request smuggling
vcl authorization bypass
content-length header
post request
mitigation
confidentiality
integrity
system availability
http/2 request support
backend connection reuse
varnish configuration

CVSS2

6.4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS

0.007

Percentile

79.9%

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.

Mitigation

This issue can be mitigated by:

  1. Disabling HTTP/2 request support by executing:

    sudo varnishadm param.set feature -http2

  2. Disabling backend connection reuse on varnish side, the following rule can be inserted into Varnish configuration:

    sub vcl_backend_fetch {
    set bereq.http.Connection = “close”;
    }

CVSS2

6.4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS

0.007

Percentile

79.9%