Red Hat: 2013:1170-01: mongodb and pymongo: Important Advisory
Posted by Benjamin D. Thomas   
RedHat Linux Updated mongodb and pymongo packages that fix two security issues and add one enhancement are now available for Red Hat Enterprise MRG 2.3 for Red Hat Enterprise Linux 6. [More...]
=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: mongodb and pymongo security and enhancement update
Advisory ID:       RHSA-2013:1170-01
Product:           Red Hat Enterprise MRG for RHEL-6
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-1170.html
Issue date:        2013-08-21
CVE Names:         CVE-2013-1892 CVE-2013-2132 
=====================================================================

1. Summary:

Updated mongodb and pymongo packages that fix two security issues and add
one enhancement are now available for Red Hat Enterprise MRG 2.3 for Red
Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

MRG Grid for RHEL 6 Server v.2 - i386, x86_64

3. Description:

MongoDB is a NoSQL database. PyMongo provides tools for working with
MongoDB.

A flaw was found in the run() function implementation in MongoDB. A
database user permitted to send database queries to a MongoDB server could
use this flaw to crash the server or, possibly, execute arbitrary code with
the privileges of the mongodb user. (CVE-2013-1892)

A NULL pointer dereference flaw was found in PyMongo. An invalid DBRef
record received from a MongoDB server could cause an application using
PyMongo to crash. (CVE-2013-2132)

Note: In Red Hat Enterprise MRG Grid, MongoDB is not accessed by users
directly and is only accessed by other Grid services, such as Condor and
Cumin.

This update also adds the following enhancement:

* Previously, MongoDB was configured to listen for connections on all
network interfaces. This could allow remote users to access the database if
the firewall was configured to allow access to the MongoDB port (access is
blocked by the default firewall configuration in Red Hat Enterprise Linux).
This update changes the configuration to only listen on the loopback
interface by default. (BZ#892767)

Users of Red Hat Enterprise MRG 2.3 for Red Hat Enterprise Linux 6 are
advised to upgrade to these updated packages, which contain backported
patches to resolve these issues and add this enhancement. After installing
this update, MongoDB will be restarted automatically.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

927536 - CVE-2013-1892 MongoDB: Server Side JavaScript Includes allow Remote Code Execution
969560 - CVE-2013-2132 pymongo: null pointer when decoding invalid DBRef

6. Package List:

MRG Grid for RHEL 6 Server v.2:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEMRG-RHEL6/SRPMS/mongodb-1.6.4-6.el6.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEMRG-RHEL6/SRPMS/pymongo-1.9-11.el6.src.rpm

i386:
mongodb-1.6.4-6.el6.i686.rpm
mongodb-debuginfo-1.6.4-6.el6.i686.rpm
mongodb-server-1.6.4-6.el6.i686.rpm
pymongo-1.9-11.el6.i686.rpm
pymongo-debuginfo-1.9-11.el6.i686.rpm
python-bson-1.9-11.el6.i686.rpm

x86_64:
mongodb-1.6.4-6.el6.x86_64.rpm
mongodb-debuginfo-1.6.4-6.el6.x86_64.rpm
mongodb-server-1.6.4-6.el6.x86_64.rpm
pymongo-1.9-11.el6.x86_64.rpm
pymongo-debuginfo-1.9-11.el6.x86_64.rpm
python-bson-1.9-11.el6.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2013-1892.html
https://www.redhat.com/security/data/cve/CVE-2013-2132.html
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is .  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.