CVE-2024-25142: Apache airflow Apache Airflow Does Not Return Vulnerability
LOWCVE-2024-25142 is a LOW apache airflow does not return vulnerability (CWE-525: Use of Web Browser Cache Containing Sensitive Information) affecting Apache airflow libraries in the PyPI ecosystem. The issue involves apache airflow does not return the "cache-control" header for dynamic content. Remediation is available by upgrading affected packages to version 2.9.2.
CVE-2024-25142 at a Glance
How to Fix CVE-2024-25142
To remediate this vulnerability, upgrade all affected Apache airflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow>=2.9.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-25142, inspect your installed packages using pip:
pip show apache-airflow
Analyze the terminal output to locate any version of Apache airflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.2), your application is affected.
Note: The pip show apache-airflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-525: Use of Web Browser Cache Containing Sensitive Information, where the web application does not use an appropriate caching policy that specifies the extent to which each web page and associated form fields should be cached. In Apache airflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-25142 Affected Apache airflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow
|
PyPI |
< 2.9.2
|
2.9.2
|
References
Frequently Asked Questions
What is CVE-2024-25142?
Which Apache airflow versions are affected?
What version fixes CVE-2024-25142?
Is apache-airflow affected?
What CWE is associated with CVE-2024-25142?
How can I check PyPI dependencies for CVE-2024-25142?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9xpj-62mm-24h2",
"modified" : "2025-01-21T17:57:43Z",
"published" : "2024-06-14T09:31:17Z",
"aliases" : [ "CVE-2024-25142" ],
"summary" : "Apache Airflow does not return the \"Cache-Control\" header for dynamic content",
"details" : "Use of Web Browser Cache Containing Sensitive Information vulnerability in Apache Airflow. \n\nAirflow did not return \"Cache-Control\" header for dynamic content, which in case of some browsers could result in potentially storing sensitive data in local cache of the browser.\n\nThis issue affects Apache Airflow: before 2.9.2.\n\nUsers are recommended to upgrade to version 2.9.2, which fixes the issue.\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-25142"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/39550"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/94eb647de692a4d9555b02dce85974da5d4c04e3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-195.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/cg1j28lk0fhzthk0of1g7vy7p2n1j7nr"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/06/13/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-525" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-17T21:24:09Z",
"nvd_published_at" : "2024-06-14T09:15:09Z"
}
}