apache-airflow-providers-common-ai@1.1.0

Provider package apache-airflow-providers-common-ai for Apache Airflow

  • latest version

    1.2.0

  • latest non vulnerable version

  • first published

    7 months ago

  • latest version published

    7 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the apache-airflow-providers-common-ai 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
    Improper Neutralization of Special Elements Used in a Template Engine

    apache-airflow-providers-common-ai is a Provider package apache-airflow-providers-common-ai for Apache Airflow

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via double Jinja template rendering in the execute() methods of the TaskFlow decorators @task.kubernetes_cmd (and related decorators @task.bash, @task.sql, @task.analytics, @task.llm, @task.agent, @task.llm_sql, @task.llm_branch, @task.llm_file_analysis, and @task.llm_schema_compare). These decorators call render_template_fields() inside execute() after the task runner has already rendered all template fields, causing values copied into env, op_args, op_kwargs, or the returned prompt, command, or SQL to be evaluated as Jinja templates a second time on the worker. An attacker who can trigger a DAG run or control text that a DAG passes into one of these decorators as an argument or prompt can execute arbitrary commands on the worker and read connection passwords and Variables.

    How to fix Improper Neutralization of Special Elements Used in a Template Engine?

    Upgrade apache-airflow-providers-common-ai to version 1.2.0 or higher.

    [0.1.0,1.2.0)