Skip to content
Heist/ feed
Back to feed
HighFix available

python-werkzeug — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-46136

Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. This vulnerability has been patched in version 3.0.1 and 2.3.8.

Products
python-werkzeug
Affected versions
2.2.2-3
Fixed versions
2.2.2-3+deb12u1, 3.0.1-2
CVEs
CVE-2023-46136
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:49 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-46136

core-osv · Original source

Published 25 Oct 2023, 18:17 UTC

Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. This vulnerability has been patched in version 3.0.1 and 2.3.8.

osv:DEBIAN-CVE-2023-46136

python-werkzeug

Fixed versions: 2.2.2-3+deb12u1

python-werkzeug

Fixed versions: 3.0.1-2

python-werkzeug

Fixed versions: 3.0.1-2

Complete source record
{
  "id": "08bfc2c991af23949ecf64f2591ae11d1a1f84bffc05c6d9297b2c8e7ef17372",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-46136",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-46136",
    "summary": "Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. This vulnerability has been patched in version 3.0.1 and 2.3.8.",
    "evidence": "osv:DEBIAN-CVE-2023-46136",
    "products": [
      {
        "name": {
          "value": "python-werkzeug",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.2-3+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.2.2-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-werkzeug",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.0.1-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-werkzeug",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.0.1-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-46136",
      "aliases": [
        "DEBIAN-CVE-2023-46136"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.2-3+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-werkzeug",
            "purl": "pkg:deb/debian/python-werkzeug?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.2.2-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46136.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.0.1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-werkzeug",
            "purl": "pkg:deb/debian/python-werkzeug?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46136.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.0.1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-werkzeug",
            "purl": "pkg:deb/debian/python-werkzeug?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46136.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:01:54.576912773Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-46136"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-46136"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-46136",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455758,
  "published_at": "2023-10-25T18:17:36.753+00:00"
}