{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-40127","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","dateUpdated":"2025-04-30T18:58:45.160Z","dateReserved":"2022-09-06T00:00:00.000Z","datePublished":"2022-11-14T00:00:00.000Z"},"containers":{"cna":{"title":"Apache Airflow <2.4.0 has an RCE in a bash example","providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2022-11-14T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow","status":"affected","lessThan":"2.4.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/apache/airflow/pull/25960"},{"url":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy"},{"name":"[oss-security] 20221113 CVE-2022-40127: RCE in Apache Airflow <2.4.0 bash example","tags":["mailing-list"],"url":"http://www.openwall.com/lists/oss-security/2022/11/14/2"}],"credits":[{"lang":"en","value":"Apache Airflow PMC would like to thank L3yx of Syclover Security Team."}],"metrics":[{"other":{"type":"unknown","content":{"other":"low"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]}],"x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Do not enable example dags on systems that should not allow UI user to execute an arbitrary command."}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T12:14:39.589Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/apache/airflow/pull/25960","tags":["x_transferred"]},{"url":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy","tags":["x_transferred"]},{"name":"[oss-security] 20221113 CVE-2022-40127: RCE in Apache Airflow <2.4.0 bash example","tags":["mailing-list","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2022/11/14/2"}]},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-94","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-30T18:58:19.200830Z","id":"CVE-2022-40127","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-30T18:58:45.160Z"}}]}}