CVE-2024-12376: Fschat FastChat Server-Side Request Forgery Vulnerability Vulnerability
HIGHCVE-2024-12376 is a HIGH (CVSS 7.5) fastchat server-side request forgery vulnerability vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Fschat libraries in the PyPI ecosystem. The issue involves fastchat server-side request forgery vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-12376 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-12376
To remediate this vulnerability, upgrade all affected Fschat dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install fschat>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show fschat
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-12376, inspect your installed packages using pip:
pip show fschat
Analyze the terminal output to locate any version of Fschat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show fschat command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Fschat, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-12376 Affected Fschat Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fschat
|
PyPI |
≤ 0.2.36
|
|
References
Frequently Asked Questions
What is CVE-2024-12376?
Which Fschat versions are affected?
What version fixes CVE-2024-12376?
Is fschat affected?
What is the CVSS score of CVE-2024-12376?
What CWE is associated with CVE-2024-12376?
How can I check PyPI dependencies for CVE-2024-12376?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g44m-hpf4-vmrp",
"modified" : "2025-03-21T16:41:12Z",
"published" : "2025-03-20T12:32:43Z",
"aliases" : [ "CVE-2024-12376" ],
"summary" : "FastChat Server-Side Request Forgery vulnerability",
"details" : "A Server-Side Request Forgery (SSRF) vulnerability was identified in the lm-sys/fastchat web server, specifically in the affected version git 2c68a13. This vulnerability allows an attacker to access internal server resources and data that are otherwise inaccessible, such as AWS metadata credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "fschat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.2.36"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-12376"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lm-sys/FastChat"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/c9cc3f28-ee9f-4d2d-9ee5-8c6455a11892"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-21T16:41:12Z",
"nvd_published_at" : "2025-03-20T10:15:27Z"
}
}