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...
Status: RESOLVED FIXED
Alias: CVE-2013-2132
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: ~3 [noglsa]
Keywords:
: CVE-2013-4142 (view as bug list)
Depends on:
Blocks:
 
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: ---


Attachments

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
pymongo.MongoClient().test.python532.find_one()

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

External reference:
https://jira.mongodb.org/browse/PYTHON-532

A source code update is available at:
https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2


@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 <ultrabug@gentoo.org> -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 (http://nvd.nist.gov/nvd.cfm?cvename=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."