{"id":"CVE-2024-39721","aliases":["CVE-2024-39721"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in Ollama before 0.1.34.","summary":"An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to read a file until completion. The req.Path parameter is user-controlled and can be set to /dev/random, which is blocking, causing the goroutine to run infinitely (even after the HTTP request is aborted by the client).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to read a file until completion. The req.Path parameter is user-controlled and can be set to /dev/random, which is blocking, causing the goroutine to run infinitely (even after the HTTP request is aborted by the client).","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en Ollama antes de la versión 0.1.34. La función CreateModelHandler usa os.Open para leer un archivo hasta que se complete. El parámetro req.Path está controlado por el usuario y se puede configurar en /dev/random, que es bloqueador y hace que la goroutine se ejecute infinitamente (incluso después de que el cliente cancele la solicitud HTTP).","source":"nvd"}],"published":"2024-10-31T00:00:00.000Z","modified":"2026-06-17T07:42:32.460Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-404"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.1.34","status":"affected"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.1.34"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ollama/ollama/blob/9164b0161bcb24e543cba835a8863b80af2c0c21/server/routes.go#L557","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/routes.go#L536","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.oligo.security/blog/more-models-more-probllms","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-11-01T15:19:04.173Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39721","url":"https://www.cve.org/CVERecord?id=CVE-2024-39721","licence":"CVE Terms of Use","modified":"2024-11-01T15:19:09.068Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39721","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39721","licence":"Public domain","modified":"2026-06-17T07:42:32.460Z"}],"updatedAt":"2026-11-25T22:58:47.563Z","epss":{"score":0.02665,"percentile":0.86141,"date":"2026-12-01T12:00:22.000Z"}}