Skip to content
OpenAdvisories
Medium CVE-2013-2132 EUVD-2013-0028GHSA-x33v-f3gp-gw2cPYSEC-2013-30

Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo

Published Aug 15, 2013 · Updated Aug 6, 2024 · Assigned by redhat

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pymongo 2.5.2-1 —
Debian 13 pymongo 2.5.2-1 —
Debian 12 pymongo 2.5.2-1 —
Debian 7 pymongo 2.2-4+deb7u1 DSA-2705-1
ReleasePackageFixed inAdvisory
Red Hat MRG 2 mongodb +1 1.6.4-6.el6 RHSA-2013:1170
Red Hat MRG 2 pymongo +1 1.9-11.el6 RHSA-2013:1170
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-pymongo 4.17.0-1.1 openSUSE-SU-2026:11478-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pymongo < 2.5.2 2.5.2 GHSA-x33v-f3gp-gw2c

Advisories 4

References