{"id":"CVE-2024-39721","published":"2024-10-31T00:00:00Z","modified":"2024-11-01T15:19:09Z","title":"An issue was discovered in Ollama before 0.1.34","vendor":null,"product":null,"tier":"tail","description":{"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02665,"percentile":0.86085,"provenance":"source"},"cwes":[{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"references":[{"url":"https://github.com/ollama/ollama/blob/9164b0161bcb24e543cba835a8863b80af2c0c21/server/routes.go#L557","tags":[]},{"url":"https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/routes.go#L536","tags":[]},{"url":"https://www.oligo.security/blog/more-models-more-probllms","tags":[]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":17.22},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-01T15:19:04.173567Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38205","exploited":false,"provenance":"source"}}