# N/A
## 漏洞概述
在Ollama版本0.1.47之前的model.go文件中的extractFromZipFile函数存在漏洞,允许从ZIP存档中提取成员到父目录之外的位置。
## 影响版本
- 版本:0.1.47 之前的所有版本
## 漏洞细节
extractFromZipFile函数未能正确限制ZIP文件成员的提取路径,从而可能允许攻击者将文件提取到任意目录,包括父目录之外的位置。
## 影响
该漏洞可能导致未授权的文件写入或覆盖系统关键文件,进而可能引发进一步的安全问题,如权限提升或系统功能失效。
是否为 Web 类漏洞: 是
判断理由:
| # | POC 描述 | 源链接 | 神龙链接 |
|---|---|---|---|
| 1 | CVE-2024-45436 | https://github.com/pankass/CVE-2024-45436 | POC详情 |
| 2 | None | https://github.com/XiaomingX/CVE-2024-45436-exp | POC详情 |
| 3 | This repository contains an exploit demonstration for CVE-2024-45436, a critical vulnerability affecting specific software versions. It highlights the exploitation mechanism and provides insights for security researchers to understand and mitigate the risk. | https://github.com/XiaomingX/cve-2024-45436-exp | POC详情 |
| 4 | exploit script for CVE-2024-45436 | https://github.com/srcx404/CVE-2024-45436 | POC详情 |
| 5 | None | https://github.com/Threekiii/Awesome-POC/blob/master/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E6%BC%8F%E6%B4%9E/Ollama%20extractFromZipFile%20%E7%9B%AE%E5%BD%95%E7%A9%BF%E8%B6%8A%E6%BC%8F%E6%B4%9E%20CVE-2024-45436.md | POC详情 |
标题: Comparing v0.1.46...v0.1.47 · ollama/ollama · GitHub -- 🔗来源链接
标签:
标题: zip: prevent extracting files into parent dirs by mxyng · Pull Request #5314 · ollama/ollama · GitHub -- 🔗来源链接
标签:
神龙速读:
从这个网页截图中,我们可以获取到以下关于漏洞的关键信息:
1. **漏洞编号**:CVE-2024-45436
2. **漏洞描述**:潜在的Go漏洞在github.com/ollama/ollama中。
3. **漏洞链接**:golang/vulndb#3104
4. **漏洞状态**:已公开(Open)
这些信息表明,这个漏洞已经被公开,并且有一个相关的Go漏洞数据库链接。
暂无评论