mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
18 lines
802 B
Markdown
18 lines
802 B
Markdown
### [CVE-2024-39721](https://cve.mitre.org/cgi-bin/cvename.cgi?name=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).
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://www.oligo.security/blog/more-models-more-probllms
|
|
|
|
#### Github
|
|
- https://github.com/wowtalon/LLM-Security
|
|
|