CVE-2024-24762
python-multipart vulnerable to Content-Type Header ReDoS
7.5
HIGH
CVSS 3.1
EPSS 1.5%
描述
`python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.
如何修補 CVE-2024-24762
要修補 CVE-2024-24762,請將受影響套件升級到下列已修補版本。
- —升級至 0.109.1 或更新版本
- —升級至 9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc 或更新版本
- —升級至 0.0.7 或更新版本
- —升級至 0.0.7 或更新版本
CVE-2024-24762 正在被利用嗎?
低 — EPSS 為 1.5%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 0.109.1
- from 0, < 9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc | from 0, < 0.109.1
- from 0, < 0.0.7
- from 0, < 0.0.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |