Horizon Alert
Summary of the vulnerability and why it matters
A security issue has been identified in the SSH provider for Apache Airflow, which by default accepts any server key for SSH and SFTP connections. This could allow an attacker to impersonate servers and intercept credentials or data transmitted through these connections.
- Default SSH connections can be impersonated.
- Protects sensitive data in transit over SSH.
- Verify provider configurations for SSH/SFTP.
Attack Path
How an attacker could exploit the issue
An attacker positioned between an Apache Airflow worker and an SSH or SFTP server can impersonate the server. This is possible because the SSH provider hook, by default, does not verify the server's host key. This allows the attacker to intercept sensitive information or credentials transmitted during task execution.
- Network access required.
- SSH/SFTP connection is intercepted.
- Credentials and data can be stolen.
Live Threat
Current exploitation, exposure, and threat context
When the SSH provider hook's default host-key verification is left unchanged, an attacker in a man-in-the-middle position could impersonate the SSH or SFTP server. This could lead to the interception of credentials or data transmitted by tasks.
- Task credentials and data could be at risk.
- Man-in-the-middle attackers could impersonate servers.
- Interception of sensitive information may occur.
Operational Fix
Recommended remediation, mitigation, and detection steps
Real-world remediation likely falls to the platform or infrastructure teams managing Apache Airflow, with coordination from application owners who utilize the affected SSH/SFTP connections. The immediate first step is to inventory where the Airflow SSH and SFTP providers are deployed and to determine if these connections are exposed externally or used for critical internal processes. Once identified, the accountable owner should be confirmed, followed by a risk-based remediation plan that may involve upgrades during scheduled maintenance or temporary compensating controls.
- Platform and application owners should lead.
- Verify SSH/SFTP connection exposure and criticality.
- Plan upgrades or implement security controls.