CVE-2023-51702

Vulnérabilité moyenne dans Apache Airflow CNCF Kubernetes provider (Apache Software Foundation)

CVSS 6.5 · Moyenne
EPSS 0.4%
Apache Software Foundation•Apache Airflow CNCF Kubernetes provider•Versions : 5.2.0, <2.6.1, <7.0.0, 2.3.0

Description

Since version 5.2.0, when using deferrable mode with the path of a Kubernetes configuration file for authentication, the Airflow worker serializes this configuration file as a dictionary and sends it to the triggerer by storing it in metadata without any encryption. Additionally, if used with an Airflow version between 2.3.0 and 2.6.0, the configuration dictionary will be logged as plain text in the triggerer service without masking. This allows anyone with access to the metadata or triggerer log to obtain the configuration file and use it to access the Kubernetes cluster. This behavior was changed in version 7.0.0, which stopped serializing the file contents and started providing the file path instead to read the contents into the trigger. Users are recommended to upgrade to version 7.0.0, which fixes this issue.

Gravité et risque d'exploitation

CVE-2023-51702 obtient un score CVSS de 6.5/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.39 %, ce qui la place devant 31.0 % des CVE référencées.

Que faire ?

  • Vérifiez si Apache Airflow CNCF Kubernetes provider (versions 5.2.0, <2.6.1, <7.0.0, 2.3.0) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références