Descrizione
The Apache Airflow Git provider runs its git-over-SSH operations with `StrictHostKeyChecking=no` by default, disabling SSH host-key verification. An attacker who can intercept the network path between an Airflow worker and the Git server can impersonate the server (man-in-the-middle), capturing the SSH deploy key or injecting malicious repository content. Deployments that use the Git DAG bundle or Git provider to clone over SSH with a deploy key are affected. The fix changes the default to verify host keys; upgrade to apache-airflow-providers-git `0.4.1` or later and configure a `known_hosts` file.
Tipo di vulnerabilità
CWE-322
Key Exchange without Entity Authentication
The product performs a key exchange with an actor without verifying the identity of that actor.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Ensure that proper authentication is included in the system design.
Sviluppo
Understand and properly implement all checks necessary to ensure the identity of entities involved in encrypted communications.
Tutte le 25 CVE di tipo CWE-322, con andamento e prevenzione