Browse / AI Framework and Platform Flaws / CVE-2024-10907
FastChat Uncontrolled Resource Consumption vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- fschat (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.7% chance of exploitation in 30 days
How it works, in short
Extra characters after a multipart boundary cause the server's parser to loop indefinitely, exhausting resources for all users. (Our summary, written by a model. The source text is below.)
Details
In lm-sys/fastchat Release v0.2.36, the server fails to handle excessive characters appended to the end of multipart boundaries. This flaw can be exploited by sending malformed multipart requests with arbitrary characters at the end of the boundary. Each extra character is processed in an infinite loop, leading to excessive resource consumption and a complete denial of service (DoS) for all users. The vulnerability is unauthenticated, meaning no user login or interaction is required for an attacker to exploit this issue.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10907
- https://github.com/lm-sys/FastChat
- https://huntr.com/bounties/bf3ca81d-3508-4455-95d9-0b653e46d6e4
Source: GitHub Advisory Database, used under CC BY 4.0.