Advisory

GHSA-x33v-f3gp-gw2c

Also known as: CVE-2013-2132, PYSEC-2013-30

Summary

Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo

Details

bson/_cbsonmodule.c in the mongo-python-driver (aka. pymongo) before 2.5.2, as used in MongoDB, allows context-dependent attackers to cause a denial of service (NULL pointer dereference and crash) via vectors related to decoding of an "invalid DBRef."

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:10 UTC
Modified
2024-10-15 16:26 UTC

Affected packages and fixes

pymongo

PyPI · All systems

Affected

  • introduced 0, fixed 2.5.2 (ecosystem)

Fixed versions

2.5.2

Fix

  • Fixed version 2.5.2
    pip install --upgrade pymongo==2.5.2

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