Bugzilla – Bug 822798
VUL-0: python-pymongo: CVE-2013-2132: User-triggerable NULL pointer dereference due to utter plebbery
Last modified: 2013-06-24 22:28:33 UTC
Public via oss-security: Date: Fri, 31 May 2013 13:10:23 -0600 From: Kurt Seifried Subject: [oss-security] CVE-2013-2132 MongoDB: User-triggerable NULL pointer dereference due to utter plebbery https://jira.mongodb.org/browse/PYTHON-532 Short summary: Step 1. Use Mongo as WEB SCALE DOCUMENT STORE OF CHOICE LOL Step 2. Assume basic engineering principles applied throughout due to HEAVY MARKETING SUGGESTING AWESOMENESS. Step 3. Spend 6 months fighting plebbery across the spectrum, mostly succeed. Step 4. NIGHT BEFORE INVESTOR DEMO, TRY UPLOADING SOME DATA WITH "{$ref: '#/mongodb/plebtastic'" Step 5. LOL WTF?!?!? PYMONGO CRASH?? :OOO LOOOL WEBSCALE Step 6. It's 4am now. STILL INVESTIGATING b4cb9be0 pymongo/_cbsonmodule.c (Mike Dirolf 2009-11-10 14:54:39 -0500 1196) /* Decoding for DBRefs */ Oh Mike!!! 3. ADD process_dbrefs=False TO ALL THE DRIVERS To reproduce: ? in mongo shell: db.python532.insert({x : {"$ref" : "whatever"} }); ? in python shell import pymongo pymongo.MongoClient().test.python532.find_one() Fix: https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2 RedHat reference: https://bugzilla.redhat.com/show_bug.cgi?id=969560
bugbot adjusting priority
SR177316 sent for 12.3 and also I'll update python-pymongo to 2.5.2(inclusive fixes) to d:l:p. Thanks!
This is an autogenerated message for OBS integration: This bug (822798) was mentioned in https://build.opensuse.org/request/show/177316 Maintenance /
Hi Max, Please close the issue when you finished updated python-pymongo to 2.5.2 ( inclusive fixes ). thanks.
openSUSE-SU-2013:1064-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 822798 CVE References: CVE-2013-2132 Sources used: openSUSE 12.3 (src): python-pymongo-2.4.1-2.4.1, python3-pymongo-2.4.1-2.4.1
seems everything is fine, just set this CLOSED as FIXED for verify.