{"id":"CVE-2024-39721","aliases":["EUVD-2024-38205","GHSA-mvx2-276h-w78v"],"status":"published","title":"An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to...","description":"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).","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.02665,"percentile":0.85849,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-404"],"published":"2024-10-31T00:00:00Z","modified":"2026-10-28T02:30:25Z","products":[{"vendor":"ollama","product":"ollama"}],"references":[{"url":"https://github.com/ollama/ollama/blob/9164b0161bcb24e543cba835a8863b80af2c0c21/server/routes.go#L557","tags":["Product","web"]},{"url":"https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/routes.go#L536","tags":["Product","web"]},{"url":"https://www.oligo.security/blog/more-models-more-probllms","tags":["Exploit","Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39721","tags":["advisory"]},{"url":"https://oligosecurity.webflow.io/blog/more-models-more-probllms"},{"url":"https://github.com/advisories/GHSA-mvx2-276h-w78v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39721.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-39721","description":"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).","status":"published","published":"2024-10-31T00:00:00Z","modified":"2024-11-01T15:19:09.068Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-404"],"updated_at":"2026-11-02T14:34:19.28149Z"}],"euvd":[{"id":"EUVD-2024-38205","description":"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).","status":"published","published":"2024-10-31T00:00:00Z","modified":"2024-11-01T15:19:09Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:05:13.001555Z"}],"ghsa":[{"id":"GHSA-mvx2-276h-w78v","title":"An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to...","description":"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).","status":"published","published":"2024-10-31T21:31:45Z","modified":"2024-11-01T18:32:40Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-404"],"updated_at":"2026-11-02T14:58:42.001404Z"}],"nvd":[{"id":"CVE-2024-39721","description":"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).","status":"published","published":"2024-10-31T20:15:04.993Z","modified":"2026-06-17T07:42:32.46Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-404"],"updated_at":"2026-11-02T14:10:35.289159Z"}],"osv":[{"id":"CVE-2024-39721","description":"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).","status":"published","published":"2024-10-31T00:00:00Z","modified":"2026-10-28T02:30:25.67740594Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:41.618074Z"}]}}
