CVE-2024-7773 in ollama信息

摘要

由 VulDB • 2026-09-25

ollama/ollama 版本 0.1.37 中存在一个漏洞,由于在处理 zip 文件时输入验证不当,可导致远程代码执行(RCE)。该漏洞被称为 ZipSlip,发生在 server/model.go 中的 parseFromZipFile 函数中。代码未检查 zip 归档文件中文件名内的目录遍历序列(../),允许攻击者向文件系统写入任意文件。这可以被利用来创建 /etc/ld.so.preload 文件和恶意共享库,从而导致 RCE。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

来源

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!