LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39214: Lacking Protection against HTTP Request Smuggling in mitmproxy

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.2 and below, a malicious client or server is able to perform HTTP request smuggling attacks through mitmproxy. This means that a malicious client/server could smuggle a request/response through mitmproxy as part of another request/response's HTTP message body. While a smuggled request is still captured as part of another request's body, it does not appear in the request list and does not go through the usual mitmproxy event hooks, where users may have implemented custom access control checks or input sanitization. Unless one uses mitmproxy to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 7.0.3 and above.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-39214 affects mitmproxy versions before 7.0.3. A malicious client or server could hide HTTP traffic inside another message, causing security logic in mitmproxy hooks to miss it. The vendor says action is only required when mitmproxy protects an HTTP/1 service.

Executive priority

Treat as high priority only where mitmproxy is part of an HTTP/1 protection path. For development-only use, urgency is lower, but upgrading remains the clean remediation.

Technical view

mitmproxy 7.0.2 and earlier lack protection against HTTP request smuggling. Smuggled requests or responses can be captured as message body content, but not shown in the request list or processed through normal event hooks, bypassing custom access-control or sanitization logic.

Likely exposure

Exposure is most likely in environments using mitmproxy below 7.0.3 as a protective proxy for HTTP/1 services, especially with custom security checks in event hooks. Routine intercepting-proxy or development use may have limited business impact.

Exploitation context

The source bundle does not show KEV listing or confirmed active exploitation. The CVSS vector indicates network reachability, no privileges, no user interaction, high complexity, and potentially high confidentiality, integrity, and availability impact.

Researcher notes

The key security impact is hook bypass visibility, not just malformed traffic handling. Validate exposure by mapping mitmproxy’s role and version, then reviewing whether hidden messages could bypass locally implemented security decisions.

Mitigation direction

  • Upgrade mitmproxy to version 7.0.3 or later.
  • Inventory deployments running mitmproxy 7.0.2 or earlier.
  • Prioritize systems where mitmproxy protects HTTP/1 services.
  • Review vendor guidance before relying on compensating controls.
  • Avoid treating vulnerable mitmproxy hooks as a security boundary.

Validation and detection

  • Confirm installed mitmproxy versions are 7.0.3 or newer.
  • Identify whether mitmproxy fronts any HTTP/1 services.
  • Review custom event hooks for access-control or sanitization logic.
  • Check deployment documentation for mitmproxy security-boundary assumptions.
  • Confirm remediation through package or container version records.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-444: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39214 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2021-39214Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
mitmproxymitmproxy< 7.0.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-444 · source CWE mapping

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.