CVE-2024-25141
Improper Certificate Validation in apache airflow mongo hook
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | apache-airflow-providers-mongo | 4.0.0 |
References
- http://www.openwall.com/lists/oss-security/2024/02/20/5
- https://github.com/apache/airflow
- https://github.com/apache/airflow/pull/37214
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-mongo/PYSEC-2026-278.yaml
- https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm
- https://nvd.nist.gov/vuln/detail/CVE-2024-25141
- https://pypi.org/project/apache-airflow-providers-mongo