CVE-2024-25141
Apache Airflow Mongo Provider: Certificate validation isn't respected even if SSL is enabled for apache-airflow-providers-mongo
Description
When ssl was enabled for Mongo Hook, default settings included "allow_insecure" which caused that certificates were not validated. This was unexpected and undocumented. Users are recommended to upgrade to version 4.0.0, which fixes this issue.
INFO
Published Date :
Feb. 20, 2024, 9:15 p.m.
Last Modified :
April 28, 2025, 6:21 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2024-25141
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-25141.
                                        
| URL | Resource | 
|---|---|
| http://www.openwall.com/lists/oss-security/2024/02/20/5 | Mailing List | 
| https://github.com/apache/airflow/pull/37214 | Issue Tracking Patch | 
| https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm | Mailing List | 
| http://www.openwall.com/lists/oss-security/2024/02/20/5 | Mailing List | 
| https://github.com/apache/airflow/pull/37214 | Issue Tracking Patch | 
| https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm | Mailing List | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-25141 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-25141
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-25141 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-25141 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Reanalysis by [email protected]Apr. 28, 2025 Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 4.0.0 OR *cpe:2.3:a:apache:apache-airflow-providers-mongo:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 4.0.0 
- 
                            Initial Analysis by [email protected]Apr. 25, 2025 Action Type Old Value New Value Added CWE CWE-295 Added CPE Configuration OR *cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 4.0.0 Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2024/02/20/5 Types: Mailing List Added Reference Type Apache Software Foundation: http://www.openwall.com/lists/oss-security/2024/02/20/5 Types: Mailing List Added Reference Type CVE: https://github.com/apache/airflow/pull/37214 Types: Issue Tracking, Patch Added Reference Type Apache Software Foundation: https://github.com/apache/airflow/pull/37214 Types: Issue Tracking, Patch Added Reference Type CVE: https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm Types: Mailing List Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm Types: Mailing List 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2024/02/20/5 Added Reference https://github.com/apache/airflow/pull/37214 Added Reference https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Aug. 15, 2024 Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Feb. 20, 2024 Action Type Old Value New Value Added Reference Apache Software Foundation http://www.openwall.com/lists/oss-security/2024/02/20/5 [No types assigned] 
- 
                            CVE Received by [email protected]Feb. 20, 2024 Action Type Old Value New Value Added Description When ssl was enabled for Mongo Hook, default settings included "allow_insecure" which caused that certificates were not validated. This was unexpected and undocumented. Users are recommended to upgrade to version 4.0.0, which fixes this issue. Added Reference Apache Software Foundation https://github.com/apache/airflow/pull/37214 [No types assigned] Added Reference Apache Software Foundation https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm [No types assigned] Added CWE Apache Software Foundation CWE-295 
 
                         
                         
                         
                                             
                                            