apache-airflow-providers-sftp@6.1.0

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

  • latest version

    7.0.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    12 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the apache-airflow-providers-sftp 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
    Key Exchange without Entity Authentication

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

    Affected versions of this package are vulnerable to Key Exchange without Entity Authentication via the no_host_key_check default in SSHHook, SSHHookAsync, and SFTPHookAsync, which defaulted to True, causing SSH host key verification to be skipped for any connection that did not explicitly configure it. An attacker positioned between the Airflow worker and the target SSH/SFTP server can intercept or manipulate the connection without detection, enabling a MitM attack against all affected hook types.

    Note: This is only exploitable when host_key is not configured and no_host_key_check is not explicitly set to False in the connection extras.

    How to fix Key Exchange without Entity Authentication?

    Upgrade apache-airflow-providers-sftp to version 7.0.0 or higher.

    [,7.0.0)
    • C
    Key Exchange without Entity Authentication

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

    Affected versions of this package are vulnerable to Key Exchange without Entity Authentication via the deferrable code paths SFTPTrigger, SFTPHookAsync, and SFTPClientPool, which disable SSH host-key verification by default. When a connection does not explicitly set no_host_key_check to false, paramiko's AutoAddPolicy or known_hosts=None is applied on asyncssh paths, allowing an attacker positioned between the Airflow worker and the SFTP server to perform a MitM attack and intercept or tamper with transferred data.

    Note: This is only exploitable on the deferrable code paths (SFTPTrigger, SFTPHookAsync, SFTPClientPool) when the connection does not explicitly set no_host_key_check to false.

    How to fix Key Exchange without Entity Authentication?

    Upgrade apache-airflow-providers-sftp to version 7.0.0 or higher.

    [,7.0.0)