CVE-2024-39721
Last modified
CVE-2024-39721 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to read a file until completion. EPSS estimates a 2.68% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ollama | Ollama | < 0.1.34 |
References
- https://www.oligo.security/blog/more-models-more-probllmsExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-39721?
How severe is CVE-2024-39721?
How do I fix CVE-2024-39721?
Are you affected by CVE-2024-39721?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
