POC详情: ecdd36969943752b280debcade2890a363df7428

来源
关联漏洞
标题: Ollama 安全漏洞 (CVE-2024-37032)
描述:Ollama是Ollama开源的一个可以在本地启动并运行的大型语言模型。 Ollama 0.1.34之前版本存在安全漏洞,该漏洞源于在获取模型路径时不验证摘要的格式,会错误处理测试用例。
介绍
Running

- have docker and uv installed, then clone repo and run uv sync, after they're installed cd into the folder and activate the venv
- current server.py works with test_grader.py, test_run.py, and test_task.json
- in order to run, just run hud dev --build in one terminal and run python test_run.py in another terminal (make sure you're inside the venv created by uv)
文件快照

[4.0K] /data/pocs/ecdd36969943752b280debcade2890a363df7428 ├── [4.4K] Dockerfile ├── [ 446] pyproject.toml ├── [ 374] README.md ├── [ 677] run_pentest_task.py ├── [4.0K] src │   └── [4.0K] controller │   ├── [4.0K] cves │   │   ├── [ 19K] cve_2024_37032.py │   │   └── [ 180] __init__.py │   ├── [ 957] env.py │   └── [2.3K] server.py ├── [3.1K] tasks.json ├── [ 604] test_server_local.sh ├── [1.6K] vllm_build.sh └── [ 342] vllm_kill.sh 3 directories, 12 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。