pymongo: null pointer when decoding invalid DBRef
Published Aug 15, 2013
6.9
MEDIUMCVSS 4.0
EPSS 2.62%
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."
Affected products
No data.
Configuration 1
- ≤ 2.5.1
- 1.2.0
- 1.4.0
- 1.6.0
- 1.8.0
- 2.0.0
- 2.2.0
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.5.0
Configuration 2
- 12.04
- 12.10
- 13.04
No data.
Red Hat Enterprise MRG 2
mongodb-0:1.6.4-6.el6
Fixed · RHSA-2013:1170
Red Hat Enterprise MRG 2
pymongo-0:1.9-11.el6
Fixed · RHSA-2013:1170
Red Hat Satellite 6
python-pymongo
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise MRG 2 | mongodb-0:1.6.4-6.el6 | Fixed | RHSA-2013:1170 |
| Red Hat Enterprise MRG 2 | pymongo-0:1.9-11.el6 | Fixed | RHSA-2013:1170 |
| Red Hat Satellite 6 | python-pymongo | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Update Infrastructure 2.1.3 is now in Production 2 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Update Infrastructure Life Cycle: https://access.redhat.com/support/policy/updates/rhui.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.62% (0.02624) | 84.95th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.61% (0.02612) | 83.35th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.23% (0.02228) | 83.03th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.18% (0.07185) | 85.66th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.23% (0.02228) | 83.35th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.84% (0.00839) | 82.79th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.84% (0.00839) | 81.56th | v3 (v2023.03.01) |
| Mar 28, 2023 | 0.84% (0.00839) | 79.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.85% (0.00848) | 79.61th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (20)
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597 x_refsource_MISC
- http://lists.opensuse.org/opensuse-updates/2013-06/msg00180.html vendor-advisoryx_refsource_SUSE
- http://seclists.org/oss-sec/2013/q2/447 mailing-listx_refsource_MLIST
- http://ubuntu.com/usn/usn-1897-1 vendor-advisoryx_refsource_UBUNTUVendor Advisory
- http://www.debian.org/security/2013/dsa-2705 vendor-advisoryx_refsource_DEBIAN
- http://www.osvdb.org/93804 vdb-entryx_refsource_OSVDB
- http://www.securityfocus.com/bid/60252 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2013-2132 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597
- https://bugzilla.redhat.com/show_bug.cgi?id=969560 Issue Tracking
- https://github.com/advisories/GHSA-x33v-f3gp-gw2c Advisory
- https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2 x_refsource_MISCExploitPatch
- https://github.com/pypa/advisory-database/tree/main/vulns/pymongo/PYSEC-2013-30.yaml
- https://jira.mongodb.org/browse/PYTHON-532 x_refsource_MISC
- https://lists.opensuse.org/opensuse-updates/2013-06/msg00180.html
- https://nvd.nist.gov/vuln/detail/CVE-2013-2132
- https://seclists.org/oss-sec/2013/q2/447
- https://ubuntu.com/usn/usn-1897-1
- https://www.cve.org/CVERecord?id=CVE-2013-2132
- https://www.debian.org/security/2013/dsa-2705
Change history (0)
No recorded changes yet.