apache-airflow-providers-opensearch@1.8.4

Provider package apache-airflow-providers-opensearch for Apache Airflow

  • latest version

    1.9.1

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    24 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the apache-airflow-providers-opensearch 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
    • H
    Insertion of Sensitive Information into Log File

    apache-airflow-providers-opensearch is a Provider package apache-airflow-providers-opensearch for Apache Airflow

    Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the _group_logs_by_host method in os_task_handler.py. An attacker can expose the user:password@ portion of the configured OpenSearch host by causing task-log grouping to fall back to the raw [opensearch] host value when log hits do not include a host field. The leaked credentials appear in task logs as the log-source label, allowing anyone with access to those logs to recover the OpenSearch connection secret and use it to access the backend.

    Workarounds

    • Configure backend credentials via a secret backend instead of embedding user:password@ in the [opensearch] host URL; this prevents the credentials from being written into task logs when log-source labels are generated.

    How to fix Insertion of Sensitive Information into Log File?

    Upgrade apache-airflow-providers-opensearch to version 1.9.1rc1 or higher.

    [1.5.0rc1,1.9.1rc1)