Publish GHSA-3xr8-qfvj-9p9j

This commit is contained in:
advisory-database[bot]
2024-06-06 22:57:06 +00:00
parent 42d332518a
commit 6a107d1554
@@ -1,11 +1,12 @@
{
"schema_version": "1.4.0",
"id": "GHSA-3xr8-qfvj-9p9j",
"modified": "2024-06-06T21:30:37Z",
"modified": "2024-06-06T22:55:45Z",
"published": "2024-06-06T21:30:37Z",
"aliases": [
"CVE-2024-4888"
],
"summary": "Arbitrary file deletion in litellm",
"details": "BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on the `/audio/transcriptions` endpoint. An attacker can exploit this vulnerability by sending a specially crafted request that includes a file path to the server, which then deletes the specified file without proper authorization or validation. This vulnerability is present in the code where `os.remove(file.filename)` is used to delete a file, allowing any user to delete critical files on the server such as SSH keys, SQLite databases, or configuration files. ",
"severity": [
{
@@ -14,13 +15,39 @@
}
],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "litellm"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.35.36"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-4888"
},
{
"type": "WEB",
"url": "https://github.com/BerriAI/litellm/pull/3193"
},
{
"type": "PACKAGE",
"url": "https://github.com/BerriAI/litellm"
},
{
"type": "WEB",
"url": "https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c"
@@ -31,8 +58,8 @@
"CWE-20"
],
"severity": "MODERATE",
"github_reviewed": false,
"github_reviewed_at": null,
"github_reviewed": true,
"github_reviewed_at": "2024-06-06T22:55:45Z",
"nvd_published_at": "2024-06-06T19:16:03Z"
}
}