Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472034 (CVE-2013-2132) - <dev-python/pymongo-2.5.2 : Null pointer when decoding invalid DBRef (CVE-2013-2132)
Summary: <dev-python/pymongo-2.5.2 : Null pointer when decoding invalid DBRef (CVE-201...
Alias: CVE-2013-2132
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
Whiteboard: ~3 [noglsa]
: CVE-2013-4142 (view as bug list)
Depends on:
Reported: 2013-06-01 19:09 UTC by Agostino Sarubbo
Modified: 2013-08-30 09:45 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-06-01 19:09:56 UTC
From ${URL} :

A user triggerable null pointer occurs when parsing invalid DBref records. 
This was reported by Jibbers McGee.

This can be triggered in Mongo shell:
db.python532.insert({x : {"$ref" : "whatever"} });

Or in Python shell:
import pymongo

A workaround is reportedly available:
Add "process_dbrefs=False" to all the drivers

External reference:

A source code update is available at:

@maintainer(s): after the bump, in case we need to stabilize the package, please say explicitly if it is ready for the stabilization or not.
Comment 1 Ultrabug gentoo-dev 2013-06-02 16:22:29 UTC
Thx ago, this package has no stable candidate for now.

Bumped in tree.

+*pymongo-2.5.2 (02 Jun 2013)
+  02 Jun 2013; Ultrabug <> -pymongo-2.3.ebuild,
+  -pymongo-2.5.ebuild, -pymongo-2.5.1.ebuild, +pymongo-2.5.2.ebuild:
+  fix #472046 wrt #472034, drop old
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-07-18 21:44:29 UTC
*** Bug 477324 has been marked as a duplicate of this bug. ***
Comment 3 Agostino Sarubbo gentoo-dev 2013-08-29 15:46:41 UTC
Closing as noglsa.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2013-08-30 01:57:10 UTC
CVE-2013-2132 (
  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."