Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pymongo
  4. ›
  5. CVE-2013-2132

CVE-2013-2132: Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo

May 14, 2022 (updated October 15, 2024)

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

References

  • bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597
  • github.com/advisories/GHSA-x33v-f3gp-gw2c
  • github.com/mongodb/mongo-python-driver
  • github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2
  • github.com/pypa/advisory-database/tree/main/vulns/pymongo/PYSEC-2013-30.yaml
  • jira.mongodb.org/browse/PYTHON-532
  • lists.opensuse.org/opensuse-updates/2013-06/msg00180.html
  • nvd.nist.gov/vuln/detail/CVE-2013-2132
  • seclists.org/oss-sec/2013/q2/447
  • ubuntu.com/usn/usn-1897-1
  • www.debian.org/security/2013/dsa-2705

Code Behaviors & Features

Detect and mitigate CVE-2013-2132 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.2

Fixed versions

  • 2.5.2

Solution

Upgrade to version 2.5.2 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:N/A:P

Learn more about CVSS

Weakness

  • CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference

Source file

pypi/pymongo/CVE-2013-2132.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.