{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-4888","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-05-14T22:30:58.413Z","datePublished":"2024-06-06T18:31:09.735Z","dateUpdated":"2024-11-03T18:27:22.574Z"},"containers":{"cna":{"title":"Arbitrary File Deletion in BerriAI/litellm","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-11-03T18:27:22.574Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"berriai","product":"berriai/litellm","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}]}],"references":[{"url":"https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-862 Missing Authorization","cweId":"CWE-862"}]}],"source":{"advisory":"48461d89-cf13-4ad3-a43e-0d37da08fc6c","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"berriai","product":"litellm","cpes":["cpe:2.3:a:berriai:litellm:1.34.41:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"1.34.41","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-07T19:29:54.576611Z","id":"CVE-2024-4888","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-07T19:34:20.681Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T20:55:10.271Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c","tags":["x_transferred"]}]}]}}