cve/2023/CVE-2023-46136.md

20 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-46136](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-46136)
![](https://img.shields.io/static/v1?label=Product&message=werkzeug&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%203.0.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-407%3A%20Inefficient%20Algorithmic%20Complexity&color=brighgreen)
### Description
Werkzeug is a comprehensive WSGI web application library. 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/marcus67/some_flask_helpers
2024-05-28 08:49:17 +00:00
- https://github.com/mmbazm/device_api
2024-05-25 21:48:12 +02:00