Cyber Resilience

CVE-2024-39719

Info Disclosure in Ollama ≤ 0.3.14

Public PoCInfo Disclosure
Published
31 October 2024
Modified
13 May 2025
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.043 90th percentile
Risk Priority 77 floored blend · peak EPSS

Summary

CVE-2024-39719 is a high-severity Generation of Error Message Containing Sensitive Information (CWE-209) vulnerability in Ollama Ollama. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Software (T1592.002); ranked in the top 10% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Privacy and Disclosure risk domain.

The strongest mitigations our analysis identified map to SI-11 (Error Handling) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-39719 affects Ollama versions through 0.3.14 and stems from insufficient error handling in the CreateModel route exposed by the api/create endpoint. When a non-existent path parameter is supplied, the server returns a "File does not exist" message, disclosing the presence or absence of arbitrary files on the host filesystem. The flaw is tracked under CWE-209 and carries a CVSS 3.1 base score of 7.5.

An unauthenticated attacker with network access can repeatedly invoke the CreateModel API using crafted path values. By observing whether the error message appears, the attacker can map readable files on the server, establishing a reliable information-gathering primitive that may aid subsequent attacks.

The single reference points to analysis from Oligo Security that examines broader model-handling issues in Ollama; no vendor advisory or patch details are supplied in the available data. The associated EPSS score has reached a peak of 0.4510 with a current value of 0.4451, indicating sustained exploitation interest in this AI/ML inference platform.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An issue was discovered in Ollama through 0.3.14. File existence disclosure can occur via api/create. When calling the CreateModel route with a path parameter that does not exist, it reflects the "File does not exist" error message to the attacker,…

more

providing a primitive for file existence on the server.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Privacy and Disclosure
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Ollama is an open-source framework providing REST APIs (e.g., /api/create, /api/pull, /api/push) for managing, pulling, pushing, and running AI models locally, particularly LLMs, making it primarily an APIs and Models software.

Related Threats

MITRE ATT&CK Enterprise Techniques

T1592.002 Software Reconnaissance
Adversaries may gather information about the victim's host software that can be used during targeting.
T1082 System Information Discovery Discovery
An adversary may attempt to get detailed information about the operating system and hardware, including version, patches, hotfixes, service packs, and architecture.
T1592 Gather Victim Host Information Reconnaissance
Adversaries may gather information about the victim's hosts that can be used during targeting.
T1595 Active Scanning Reconnaissance
Adversaries may execute active reconnaissance scans to gather information that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-39720Same product: Ollama Ollama
CVE-2024-39721Same product: Ollama Ollama
CVE-2024-28224Same product: Ollama Ollama
CVE-2024-39722Same product: Ollama Ollama
CVE-2024-37032Same product: Ollama Ollama
CVE-2025-51471Same product: Ollama Ollama
CVE-2025-66960Same product: Ollama Ollama
CVE-2025-15514Same product: Ollama Ollama
CVE-2026-5757Same product: Ollama Ollama
CVE-2025-63389Same product: Ollama Ollama

Affected Assets

ollama
ollama
≤ 0.3.14

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V16.5.1

Mitigating Controls (NIST 800-53 r5) AI

si-11 directly requires error messages to avoid revealing exploitable information about the system or its data.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require sanitized error handling to prevent sensitive data disclosure.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding standards explicitly forbid exposing sensitive data in errors.

finds

Security testing can detect error messages that leak sensitive information.

A.8.15 Logging partial match
degrades

Logging policy can require suppression of sensitive data in error messages.

prevents

Secure SDLC mandates error-handling rules that avoid leaking sensitive information.

prevents

Application security requirements can specify safe error messaging.

prevents

Secure architecture principles include proper exception handling.

References