p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in code-ollama

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für code-ollama: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücke: 1

  1. GHSA-456v-xq2p-r4cj

    Hoch · CVSS 7.8Korrektur verfügbar

    code-ollama: `grep_search` Command Injection via Unescaped `$()` Shell Substitution (CWE-78)

    ## `grep_search` Command Injection via Unescaped `$()` Shell Substitution (CWE-78) ### Summary The `grep_search` tool in `code-ollama` constructs a shell command string by interpolating attacker-controlled `pattern` and `path` arguments, then executes it via `child_process.exec()`. The sanitization only escapes backslashes and double-quote characters, leaving `$()` command substitution and backtick expansion fully intact. A malicious or compromised Ollama server can therefore inject and execute arbitrary OS commands with the privileges of the local user running `code-ollama`. Because `grep_search` is classified as a read-only tool, it auto-

    • Auf 0.36.1 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →