CVE-2024-24762
Published Feb 5, 2024
Last updated 15 hours ago
Overview
- Description
- `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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- HIGH
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:encode:starlette:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "88D6BDB2-BBC6-44E0-9FB2-C4166833D3D2", "versionEndExcluding": "0.36.2" }, { "criteria": "cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "45618F8D-003D-4C96-AAD6-659FEE2034E1", "versionEndExcluding": "0.0.7" }, { "criteria": "cpe:2.3:a:tiangolo:fastapi:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8B47D84E-D97C-4E52-91AE-270FCFA34800", "versionEndExcluding": "0.109.1" } ], "operator": "OR" } ] } ]