INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-28224

Ollama DNS rebinding vulnerability

CVE-2024-28224 ยท 2024-04-08 high

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

Source: GitHub Advisory Database, used under CC BY 4.0.