Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-53981— python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary

CVSS 7.5 · High EPSS 0.18% · P40
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-53981

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary
Source: NVD (National Vulnerability Database)
Vulnerability Description
python-multipart is a streaming multipart parser for Python. When parsing form data, python-multipart skips line breaks (CR \r or LF \n) in front of the first boundary and any tailing bytes after the last boundary. This happens one byte at a time and emits a log event each time, which may cause excessive logging for certain inputs. An attacker could abuse this by sending a malicious request with lots of data before the first or after the last boundary, causing high CPU load and stalling the processing thread for a significant amount of time. In case of ASGI application, this could stall the event loop and prevent other requests from being processed, resulting in a denial of service (DoS). This vulnerability is fixed in 0.0.18.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
不加限制或调节的资源分配
Source: NVD (National Vulnerability Database)
Vulnerability Title
python-multipart 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
python-multipart是Marcelo Trylesinski个人开发者的一个Python的流式多部分解析器。 python-multipart 0.0.18之前版本存在安全漏洞,该漏洞源于处理表单数据时对边界前后内容的不当处理及过度日志记录,可能导致攻击者通过发送特制请求引发高CPU负载和拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Kludexpython-multipart < 0.0.18 -

II. Public POCs for CVE-2024-53981

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-53981

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-53981

No comments yet


Leave a comment