cve/2024/CVE-2024-39721.md
2025-09-29 16:08:36 +00:00

18 lines
802 B
Markdown

### [CVE-2024-39721](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39721)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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).
### POC
#### Reference
- https://www.oligo.security/blog/more-models-more-probllms
#### Github
- https://github.com/wowtalon/LLM-Security