Browse / AI Framework and Platform Flaws / CVE-2024-28224
Ollama DNS rebinding vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Authentication and access control
- Affected
- github.com/ollama/ollama (Go)
- Gets past
- Authentication check
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
DNS rebinding lets a malicious page reach the localhost-only API, exposing chat, model deletion and resource exhaustion remotely. (Our summary, written by a model. The source text is below.)
Details
Ollama before 0.1.29 has a DNS rebinding vulnerability that can inadvertently allow remote access to the full API, thereby letting an unauthorized user chat with a large language model, delete a model, or cause a denial of service (resource exhaustion).
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-28224
- https://github.com/ollama/ollama
- https://github.com/ollama/ollama/releases
- https://pkg.go.dev/vuln/GO-2024-2699
- https://research.nccgroup.com/2024/04/08/technical-advisory-ollama-dns-rebinding-attack-cve-2024-28224
- https://www.nccgroup.trust/us/our-research/?research=Technical+advisories
Source: GitHub Advisory Database, used under CC BY 4.0.