原始描述
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).
受影响的软件
- Ollama *< 0.1.34 修复版本: 0.1.34 仓库或软件包匹配
详情
- 发布日期
- 2024-10-31
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-404
- EPSS(30 天内被利用概率)
- 2.67% (百分位 86)
参考资料
- cve.org/CVE-2024-39721
- nvd.nist.gov/vuln/detail/CVE-2024-39721
- github.com/ollama/ollama/blob/9164b0161bcb24e543cba835a8863b80af2c0c21/server/routes.go#L5...
- github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/routes.go#L5...
- www.oligo.security/blog/more-models-more-probllms
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。