tiangolo fastapi prior 0.109.0 HTTP Header Content-Type resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in tiangolo fastapi. The impacted element is an unknown function of the component HTTP Header Handler. This manipulation of the argument Content-Type causes resource consumption. This vulnerability appears as CVE-2024-24762. The attack may be initiated remotely. There is no available exploit. It is recommended to upgrade the affected component.
Details
A vulnerability was found in tiangolo fastapi. It has been declared as problematic. Affected by this vulnerability is some unknown processing of the component HTTP Header Handler. The manipulation of the argument Content-Type with an unknown input leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. As an impact it is known to affect availability. The summary by CVE is:
FastAPI is a web framework for building APIs with Python 3.8+ based on standard Python type hints. 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. It's a ReDoS(Regular expression Denial of Service), it only applies to those reading form data, using `python-multipart`. This vulnerability has been patched in version 0.109.0.
The weakness was presented 02/05/2024. The advisory is shared at github.com. This vulnerability is known as CVE-2024-24762 since 01/29/2024. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1499 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 227823 (Linux Distros Unpatched Vulnerability : CVE-2024-24762), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.109.0 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (227823). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Vendor
Name
License
Website
- Product: https://github.com/tiangolo/fastapi/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Resource consumptionCWE: CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 227823
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2024-24762
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: fastapi 0.109.0
Patch: github.com
Timeline
01/29/2024 🔍02/05/2024 🔍
02/05/2024 🔍
03/06/2025 🔍
Sources
Product: github.comAdvisory: 20f0ef6b4e4caf7d69a667c54dff57fe467109a4
Status: Confirmed
CVE: CVE-2024-24762 (🔍)
GCVE (CVE): GCVE-0-2024-24762
GCVE (VulDB): GCVE-100-252853
Entry
Created: 02/05/2024 16:12Updated: 03/06/2025 08:36
Changes: 02/05/2024 16:12 (49), 02/29/2024 08:57 (3), 02/29/2024 08:58 (1), 11/14/2024 18:03 (27), 03/06/2025 08:36 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.