{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2029","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-02-29T18:34:01.453Z","datePublished":"2024-04-10T17:08:05.727Z","dateUpdated":"2024-08-01T18:56:22.784Z"},"containers":{"cna":{"title":"Command Injection in mudler/localai","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-04-16T11:10:34.081Z"},"descriptions":[{"lang":"en","value":"A command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the `audioToWav` function used for converting audio files to WAV format for transcription. The vulnerability arises due to the lack of sanitization of user-supplied filenames before passing them to ffmpeg via a shell command, allowing an attacker to execute arbitrary commands on the host system. Successful exploitation could lead to unauthorized access, data breaches, or other detrimental impacts, depending on the privileges of the process executing the code."}],"affected":[{"vendor":"mudler","product":"mudler/localai","versions":[{"version":"unspecified","lessThan":"v2.10.0","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/e092528a-ce3b-4e66-9b98-3f56d6b276b0"},{"url":"https://github.com/mudler/localai/commit/31a4c9c9d3abc58de2bdc5305419181c8b33eb1c"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command","cweId":"CWE-78"}]}],"source":{"advisory":"e092528a-ce3b-4e66-9b98-3f56d6b276b0","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"mudler","product":"localai","cpes":["cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.10.0","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-04-10T19:42:34.024842Z","id":"CVE-2024-2029","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-19T19:35:21.035Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T18:56:22.784Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/e092528a-ce3b-4e66-9b98-3f56d6b276b0","tags":["x_transferred"]},{"url":"https://github.com/mudler/localai/commit/31a4c9c9d3abc58de2bdc5305419181c8b33eb1c","tags":["x_transferred"]}]}]}}