# N/A
## 漏洞概述
在Ollama版本0.1.47之前的model.go文件中的extractFromZipFile函数存在漏洞,允许从ZIP存档中提取成员到父目录之外的位置。
## 影响版本
- 版本:0.1.47 之前的所有版本
## 漏洞细节
extractFromZipFile函数未能正确限制ZIP文件成员的提取路径,从而可能允许攻击者将文件提取到任意目录,包括父目录之外的位置。
## 影响
该漏洞可能导致未授权的文件写入或覆盖系统关键文件,进而可能引发进一步的安全问题,如权限提升或系统功能失效。
# | 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详情 |
标题: zip: prevent extracting files into parent dirs by mxyng · Pull Request #5314 · ollama/ollama · GitHub -- 🔗来源链接
标签:
神龙速读标题: Comparing v0.1.46...v0.1.47 · ollama/ollama · GitHub -- 🔗来源链接
标签:
暂无评论