CVE-2013-2132 Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo

Medium 4.3 Published Updated

Attackers can cause a denial of service via NULL pointer dereference in the pymongo library when decoding invalid DBRefs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-2132?

CVE-2013-2132 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 15 Aug 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by CVE-2013-2132?

3 open source packages ship an affected version, including pymongo. It affects 3 products.

PackageAffectedFixed in
pymongo PyPIAll versions2.5.2
pymongo PyPIAll versions2.5.2
pymongo PyPIAll versions2.5.2

Products include Canonical Ubuntu Linux, Mongodb Mongodb, Opensuse Opensuse.

How do I fix CVE-2013-2132?

Upgrade pymongo to 2.5.2 or later.

Is CVE-2013-2132 being exploited?

There is no known exploitation of CVE-2013-2132 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-2132, DSA-2705-1, GHSA-x33v-f3gp-gw2c, MGASA-2013-0201, MINI-579r-mwg6-45p2, MINI-9443-w86c-rgjh and 3 more.

Is CVE-2013-2132 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free