BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-36740 in Debian Linux and 4 more products

Medium 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, 6.6.x before 6.6.1, and 6.0 LTS before 6.0.8.

Affects 5 products from 5 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS1.6%
EPSS percentile76th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0 11.0
Fedoraproject Fedora 33 34
Varnish Cache Project Varnish Cache ≥ 5.0.0, ≤ 5.2.1 ≥ 6.1.0, ≤ 6.6.0
Varnish-Cache Varnish Cache 6.0.8 ≥ 6.0.0, < 6.0.8
Varnish-Software Varnish Cache ≥ 6.0.0, ≤ 6.0.7

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-36740
BreachSpider IDBS-2021-GLOBAL-297508-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Published2021-07-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-444: CWE-444

Related attack patterns (CAPEC)

CAPEC-33 HTTP Request Smuggling via CWE-444

CAPEC-273 HTTP Response Smuggling via CWE-444

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Varnish Cache with HTTP/2 enabled is vulnerable to request smuggling and VCL authorization bypass due to improper handling of large Content-Length headers in POST requests.

An attacker can exploit this vulnerability by sending a POST request with a large Content-Length header, which can lead to request smuggling and bypassing VCL authorization rules.

Questions

What is CVE-2021-36740?

Varnish Cache with HTTP/2 enabled is vulnerable to request smuggling and VCL authorization bypass due to improper handling of large Content-Length headers in POST requests.

What is the CVSS score for CVE-2021-36740?

CVE-2021-36740 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. EPSS: 1.6%.

Is CVE-2021-36740 actively exploited?

No confirmed active exploitation of CVE-2021-36740 as of 2026-09-25.

How do I remediate CVE-2021-36740?

Priority: HIGH. Advisory: https://docs.varnish-software.com/security/VSV00007/

What systems are affected by CVE-2021-36740?

CVE-2021-36740 affects Debian Debian Linux; Fedoraproject Fedora; Varnish Cache Project Varnish Cache; Varnish-Cache Varnish Cache; Varnish-Software Varnish Cache.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.