{"id":"GHSA-x5pm-h33q-cjrw","summary":"Improper Certificate Validation in apache airflow mongo hook","details":"When ssl was enabled for Mongo Hook, default settings included \"allow_insecure\" which caused that certificates were not validated. This was unexpected and undocumented.\nUsers are recommended to upgrade to version 4.0.0, which fixes this issue.","aliases":["CVE-2024-25141","PYSEC-2026-278"],"modified":"2026-06-29T12:26:42.955921804Z","published":"2024-02-20T21:30:26Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-02-21T02:27:37Z","nvd_published_at":"2024-02-20T21:15:08Z","cwe_ids":["CWE-295"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25141"},{"type":"WEB","url":"https://github.com/apache/airflow/pull/37214"},{"type":"PACKAGE","url":"https://github.com/apache/airflow"},{"type":"WEB","url":"https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/02/20/5"}],"affected":[{"package":{"name":"apache-airflow-providers-mongo","ecosystem":"PyPI","purl":"pkg:pypi/apache-airflow-providers-mongo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}],"versions":["1.0.0","1.0.0b1","1.0.0b2","1.0.0rc1","1.0.1","1.0.1rc1","2.0.0","2.0.0rc1","2.0.0rc2","2.1.0","2.1.0rc1","2.2.0","2.2.0rc1","2.3.0","2.3.0rc1","2.3.1","2.3.1rc1","2.3.2","2.3.2rc1","2.3.3","2.3.3rc1","3.0.0","3.0.0rc1","3.0.0rc2","3.1.0","3.1.0rc1","3.1.1","3.1.1rc1","3.2.0","3.2.0rc1","3.2.0rc2","3.2.1","3.2.1rc1","3.2.2","3.2.2rc1","3.3.0","3.3.0rc1","3.4.0","3.4.0rc1","3.5.0","3.5.0rc1","3.6.0","3.6.0rc1","3.6.0rc2","4.0.0rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-x5pm-h33q-cjrw/GHSA-x5pm-h33q-cjrw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}