llama-index-packs-finchat@0.1.0 vulnerabilities

llama-index packs implementation of a hierarchical agent for finance chat.

  • latest version

    0.3.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    4 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the llama-index-packs-finchat package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    SQL Injection

    llama-index-packs-finchat is a llama-index packs implementation of a hierarchical agent for finance chat.

    Affected versions of this package are vulnerable to SQL Injection via the run_sql_query() function in the database agent. An attacker can inject raw PostgreSQL statements into a prompt and have the resulting queries executed on the backing database. By leveraging PostgreSQL's lo_from_bytea() function and compromising another file on the target server, this vulnerability can allow code execution on the operating system.

    How to fix SQL Injection?

    Upgrade llama-index-packs-finchat to version 0.3.0 or higher.

    [,0.3.0)