llama-index@0.8.43.post1 vulnerabilities

Interface between LLMs and your data

  • latest version

    0.12.2

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    8 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the llama-index 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
    • H
    Improper Control of Generation of Code ('Code Injection')

    llama-index is an Interface between LLMs and your data

    Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') through the exec call in the download/integration.py script. An attacker can execute arbitrary code by injecting malicious input into the cls_name variable used in the exec call.

    How to fix Improper Control of Generation of Code ('Code Injection')?

    Upgrade llama-index to version 0.10.38 or higher.

    [,0.10.38)
    • C
    Command Injection

    llama-index is an Interface between LLMs and your data

    Affected versions of this package are vulnerable to Command Injection due to the safe_eval function. An attacker can execute arbitrary code on the server hosting the application by crafting input that, while not containing an underscore, still results in the execution of OS commands.

    How to fix Command Injection?

    Upgrade llama-index to version 0.10.24 or higher.

    [,0.10.24)
    • H
    Arbitrary Code Execution

    llama-index is an Interface between LLMs and your data

    Affected versions of this package are vulnerable to Arbitrary Code Execution via the exec parameter in PandasQueryEngine function due to missing input sanitization.

    How to fix Arbitrary Code Execution?

    Upgrade llama-index to version 0.9.5 or higher.

    [,0.9.5)