Skip to content

Commit b8caf84

Browse files
1 parent 5f2e908 commit b8caf84

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

advisories/github-reviewed/2023/10/GHSA-hrfv-mqp8-q5rw/GHSA-hrfv-mqp8-q5rw.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-hrfv-mqp8-q5rw",
4-
"modified": "2024-11-19T19:17:43Z",
4+
"modified": "2026-05-20T22:16:51Z",
55
"published": "2023-10-25T14:22:59Z",
66
"aliases": [
77
"CVE-2023-46136"
88
],
99
"summary": "Werkzeug DoS: High resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning",
10-
"details": "Werkzeug multipart data parser needs to find a boundary that may be between consecutive chunks. That's why parsing is based on looking for newline characters. Unfortunately, code looking for partial boundary in the buffer is written inefficiently, so if we upload 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.\n\nThis 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. The amount of RAM required can trigger an out of memory kill of the process. If many concurrent requests are sent continuously, this can exhaust or kill all available workers.\n",
10+
"details": "Werkzeug multipart data parser needs to find a boundary that may be between consecutive chunks. That's why parsing is based on looking for newline characters. Unfortunately, code looking for partial boundary in the buffer is written inefficiently, so if we upload 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.\n\nThis 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. The amount of RAM required can trigger an out of memory kill of the process. If many concurrent requests are sent continuously, this can exhaust or kill all available workers.",
1111
"severity": [
1212
{
1313
"type": "CVSS_V3",
@@ -44,7 +44,7 @@
4444
"type": "ECOSYSTEM",
4545
"events": [
4646
{
47-
"introduced": "0"
47+
"introduced": "2.0.0rc1"
4848
},
4949
{
5050
"fixed": "2.3.8"
@@ -67,6 +67,10 @@
6767
"type": "WEB",
6868
"url": "https://github.com/pallets/werkzeug/commit/b1916c0c083e0be1c9d887ee2f3d696922bfc5c1"
6969
},
70+
{
71+
"type": "WEB",
72+
"url": "https://github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5"
73+
},
7074
{
7175
"type": "WEB",
7276
"url": "https://github.com/pallets/werkzeug/commit/f2300208d5e2a5076cbbb4c2aad71096fd040ef9"

0 commit comments

Comments
 (0)