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

    1 years 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.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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)