Skip to content
Heist/ feed
Back to feed
Critical

mitmproxy — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-39214

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.

Products
mitmproxy
Affected versions
0.11.3-3, 0.12.1-2, 0.13-1, 0.15-1, 2.0.2-2, 2.0.2-3, 4.0.4-6, 4.0.4-6.1, 6.0.2-1, 8.1.1-2, 8.1.1-3, 8.1.1-4
Fixed versions
Not specified
CVEs
CVE-2021-39214
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:44 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-39214

core-osv · Original source

Published 16 Sept 2021, 15:15 UTC

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.

osv:UBUNTU-CVE-2021-39214

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

mitmproxy

Fixed versions: Not specified

Complete source record
{
  "id": "5784738e1199048876a354d6610ae8c51b7bb504279f988972aae23bc2cea3ce",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39214",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-39214",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2021-39214",
    "products": [
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.3-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.12.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.2-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.0.2-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.0.4-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.0.4-6.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.0.2-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.1-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.1-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "8.1.1-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.1-4",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mitmproxy",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.1-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "8.1.1-4",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2021-39214",
      "aliases": [
        "UBUNTU-CVE-2021-39214"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.11.3-3",
            "0.12.1-2",
            "0.13-1",
            "0.15-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "0.15-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.0.2-2",
            "2.0.2-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "2.0.2-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4.0.4-6",
            "4.0.4-6.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "4.0.4-6.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "6.0.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "6.0.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "8.1.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "8.1.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "8.1.1-2",
            "8.1.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "8.1.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "8.1.1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "8.1.1-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mitmproxy",
            "purl": "pkg:deb/ubuntu/mitmproxy?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "8.1.1-3",
            "8.1.1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39214.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "8.1.1-4"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:01.192905572Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-39214"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-39214",
        "https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-22gh-3r9q-xf38",
        "https://www.cve.org/CVERecord?id=CVE-2021-39214"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-39214",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 354572,
  "published_at": "2021-09-16T15:15:00+00:00"
}