Skip to content
Heist/ feed
Back to feed
Critical

mitmproxy — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-24766

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.4 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 mitmproxy would only see one request, the target server would see multiple requests. A smuggled request is still captured as part of another request's body, but 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 mitmproxy is used to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 8.0.0 and above. There are currently no known workarounds.

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-2022-24766
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:00 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-24766

core-osv · Original source

Published 21 Mar 2022, 19:15 UTC

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.4 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 mitmproxy would only see one request, the target server would see multiple requests. A smuggled request is still captured as part of another request's body, but 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 mitmproxy is used to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 8.0.0 and above. There are currently no known workarounds.

osv:UBUNTU-CVE-2022-24766

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": "2860dbfb82b019df96ba5bb5a28c0558c7d6fe7c158f2abc5330676a3112437f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24766",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-24766",
    "summary": "mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.4 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 mitmproxy would only see one request, the target server would see multiple requests. A smuggled request is still captured as part of another request's body, but 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 mitmproxy is used to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 8.0.0 and above. There are currently no known workarounds.",
    "evidence": "osv:UBUNTU-CVE-2022-24766",
    "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-2022-24766",
      "aliases": [
        "UBUNTU-CVE-2022-24766"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.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/2022/UBUNTU-CVE-2022-24766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mitmproxy",
                "binary_version": "8.1.1-4"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:20.932393304Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-24766"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-24766",
        "https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-gcx2-gvj7-pxv3",
        "https://github.com/mitmproxy/mitmproxy/commit/b06fb6d157087d526bd02e7aadbe37c56865c71b",
        "https://mitmproxy.org/posts/releases/mitmproxy8/",
        "https://www.cve.org/CVERecord?id=CVE-2022-24766"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-24766",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355372,
  "published_at": "2022-03-21T19:15:00+00:00"
}