Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-37032 PoC — Ollama 安全漏洞

Source
Associated Vulnerability
Title:Ollama 安全漏洞 (CVE-2024-37032)
Description:Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial ../ substring.
Readme
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)
File Snapshot

[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 4 directories, 12 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →