CVE-2024-39719

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, providing a primitive for file existence on the server.
References
Link Resource
https://www.oligo.security/blog/more-models-more-probllms Third Party Advisory Exploit
Configurations

Configuration 1 (hide)

cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

History

13 May 2025, 13:32

Type Values Removed Values Added
First Time Ollama ollama
Ollama
References () https://www.oligo.security/blog/more-models-more-probllms - () https://www.oligo.security/blog/more-models-more-probllms - Third Party Advisory, Exploit
Summary
  • (es) Se descubrió un problema en Ollama hasta la versión 0.3.14. La divulgación de la existencia de un archivo puede ocurrir a través de api/create. Al llamar a la ruta CreateModel con un parámetro de ruta que no existe, se refleja el mensaje de error "El archivo no existe" al atacante, lo que proporciona una primitiva sobre la existencia del archivo en el servidor.
CPE cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

01 Nov 2024, 16:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-209

01 Nov 2024, 14:15

Type Values Removed Values Added
References
  • {'url': 'https://oligosecurity.webflow.io/blog/more-models-more-probllms', 'source': 'cve@mitre.org'}
  • () https://www.oligo.security/blog/more-models-more-probllms -

31 Oct 2024, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-31 20:15

Updated : 2025-05-13 13:32


NVD link : CVE-2024-39719

Mitre link : CVE-2024-39719

CVE.ORG link : CVE-2024-39719


JSON object : View

Products Affected

ollama

  • ollama
CWE
CWE-209

Generation of Error Message Containing Sensitive Information