GHSA-hhm6-jjf4-6pm3
Apache Airflow MySQL Provider is Vulnerable to SQL Injection
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | apache-airflow-providers-mysql | < 6.2.0 | 6.2.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow MySQL Provider.
When user triggered a DAG with dump_sql or load_sql functions they could pass a table parameter from a UI, that could cause SQL injection by running SQL that was not intended.
It could lead to data corruption, modification and others.
This issue affects Apache Airflow MySQL Provider: before 6.2.0.
Users are recommended to upgrade to version 6.2.0, which fixes the issue.
References
External links from the advisory. They lead to third-party sites.