Advisory

GHSA-x5pm-h33q-cjrw

Also known as: CVE-2024-25141, PYSEC-2026-278

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.
Users are recommended to upgrade to version 4.0.0, which fixes this issue.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-02-20 21:30 UTC
Modified
2026-10-26 21:30 UTC

Affected packages and fixes

apache-airflow-providers-mongo

PyPI · All systems

Affected

  • introduced 0, fixed 4.0.0 (ecosystem)

Fixed versions

4.0.0

Fix

  • Fixed version 4.0.0
    pip install --upgrade apache-airflow-providers-mongo==4.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences