{"id":"CVE-2023-22884","published":"2023-01-21T13:02:49Z","modified":"2025-03-31T14:53:54Z","title":"Apache Airflow, Apache Airflow MySQL Provider: Arbitrary file read via MySQL provider in Apache Airflow","vendor":"Apache","product":"Apache Airflow","tier":"tail","description":{"text":"Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Foundation Apache Airflow, Apache Software Foundation Apache Airflow MySQL Provider.This issue affects Apache Airflow: before 2.5.1; Apache Airflow MySQL Provider: before 4.0.0.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.11082,"percentile":0.95905,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/apache/airflow/pull/28811","tags":["patch"]},{"url":"https://lists.apache.org/thread/0l0j3nt0t7fzrcjl2ch0jgj6c58kxs5h","tags":["vendor-advisory"]}],"priority":{"score":31.0,"factors":[{"name":"EPSS percentile","points":19.18},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-07-29","earliestUrl":"https://github.com/jakabakos/CVE-2023-22884-Airflow-SQLi","repos":[{"name":"jakabakos/CVE-2023-22884-Airflow-SQLi","url":"https://github.com/jakabakos/CVE-2023-22884-Airflow-SQLi","stars":9,"created":"2023-07-29"}]},"first":{"date":"2023-07-29","source":"PoC-in-GitHub","url":"https://github.com/jakabakos/CVE-2023-22884-Airflow-SQLi"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":["< 2.5.1"]},{"vendor":"Apache Software Foundation","product":"Apache Airflow MySQL Provider","versions":["< 4.0.0"]}],"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":["<2.5.1"],"patched":["2.5.1"],"from":["GHSA-c732-xvv8-g94c","PYSEC-2026-268"],"provenance":"source"},{"ecosystem":"PyPI","package":"apache-airflow-providers-mysql","vulnerableRanges":["<4.0.0"],"patched":["4.0.0"],"from":["GHSA-c732-xvv8-g94c","PYSEC-2026-279"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0440","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-43985","published":"2022-11-02","fixed":"2.4.2","kev":false},{"cve":"CVE-2022-45402","published":"2022-11-15","fixed":"2.4.3","kev":false,"link":{"from":"CVE-2022-45402","to":"CVE-2023-22884","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.4.3","toFixed":"2.5.1","daysApart":67}]}},{"cve":"CVE-2023-39553","published":"2023-08-11","fixed":"2.4.3","kev":false},{"cve":"CVE-2023-22884","published":"2023-01-21","fixed":"2.5.1","kev":false},{"cve":"CVE-2023-25695","published":"2023-03-15","fixed":"2.5.2","kev":false,"link":{"from":"CVE-2023-22884","to":"CVE-2023-25695","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.5.1","toFixed":"2.5.2rc1","daysApart":53}]}},{"cve":"CVE-2023-25754","published":"2023-05-08","fixed":"2.6.0","kev":false},{"cve":"CVE-2023-29247","published":"2023-05-08","fixed":"2.6.0","kev":false}],"package":"PyPI:apache-airflow"}}