Skip to content
Heist/ feed
Back to feed
HighFix available

py3-werkzeug — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-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
py3-werkzeug
Affected versions
Not specified
Fixed versions
2.3.7-r0
CVEs
CVE-2023-46136
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:01 UTC · Revision 1

Source evidence

ALPINE-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:ALPINE-CVE-2023-46136

py3-werkzeug

Fixed versions: 2.3.7-r0

py3-werkzeug

Fixed versions: 2.3.7-r0

Complete source record
{
  "id": "ddae74c625b5575224149d9d364f7997a45649822f0a13fec9ec411d8db704c2",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-46136",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-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:ALPINE-CVE-2023-46136",
    "products": [
      {
        "name": {
          "value": "py3-werkzeug",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.7-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "py3-werkzeug",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.7-r0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "ALPINE-CVE-2023-46136",
      "aliases": [
        "ALPINE-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.3.7-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "py3-werkzeug",
            "purl": "pkg:apk/alpine/py3-werkzeug?arch=source",
            "ecosystem": "Alpine:v3.23"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46136.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.7-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "py3-werkzeug",
            "purl": "pkg:apk/alpine/py3-werkzeug?arch=source",
            "ecosystem": "Alpine:v3.24"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46136.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T17:17:58.647518637Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-46136"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/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": 454521,
  "published_at": "2023-10-25T18:17:36.753+00:00"
}