CVE-2024-28423

Airflow-Diagrams v2.1.0 was discovered to contain an arbitrary file upload vulnerability in the unsafe_load function at cli.py

Critical · published March 14, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
55.4
In the wild
Unconfirmed
What it is

🚨 An arbitrary file upload vulnerability lurks in Airflow-Diagrams v2.1.0, and it could let attackers run any code they want. 🔥 Think of it like letting a stranger into your kitchen with a recipe book — if the recipe is poorly written, they could whip up something dangerous instead of dinner! An attacker could upload a crafted YML file, allowing them to execute malicious code on your server. This means they could manipulate your data, compromise your system, or even take control completely. That's absolutely devastating for your security!

Put simply

Think of it like letting a stranger into your kitchen with a recipe book — if the recipe is poorly written, they could whip up something dangerous instead of dinner! The vulnerability exists in the unsafe_load function at cli.py, where it does not properly validate the contents of uploaded files, leading to a potential remote code execution attack via the crafted YML file.

What to do

An attacker could upload a crafted YML file, allowing them to execute malicious code on your server. This means they could manipulate your data, compromise your system, or even take control completely. That's absolutely devastating for your security! To mitigate this risk, upgrade Airflow-Diagrams to version 2.1.1 or later immediately. Implement strict validation for any uploaded files to ensure they adhere to expected formats, and audit your code for similar vulnerabilities. 🛡️ You've got this! Follow these steps, and you'll keep your environment safe and sound. ✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00779 · 55.4th percentile
Published
2024-03-14T00:00Z
EPSS history
Timeline
  • 14 MAR 00:00Z
    Airflow-Diagrams v2.1.0 was discovered to contain an arbitrary file upload vulnerability in the unsafe_load function at cli.py
    cvelistv5