CVE-2012-6619: Input Validation

Published Jan 8, 2014
·
Updated

MongoDB was found to be affected by a memory over-read bug that can be used by an authenticated user (if applicable) to obtain raw MongoDB server process memory contents via incorrect BSON object length.

This issue does not seem to cross a security boundary under most deployments, but for some it could, like differently-privileged MongoDB users, data already deleted from the DB yet staying in process memory, or/and metadata that is not normally retrievable.

References: http://seclists.org/oss-sec/2014/q1/27 http://blog.ptsecurity.com/2012/11/attacking-mongodb.html https://github.com/cyberpunkych/attackingmongodb (The files used for the attack demonstration.)

Other sources

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to cause a denial of service (crash) or read system memory via a crafted BSON object in the column name in an insert command, which triggers a buffer over-read.

MITRE

Affected Software

24 affected componentsFixes available
redhat/mongodb<2.3.2
2.3.2
MongoDB MongoDB<=2.3.1
MongoDB MongoDB=1.2.0
MongoDB MongoDB=1.4.0
MongoDB MongoDB=1.6.0
MongoDB MongoDB=1.8.0
MongoDB MongoDB=2.0.0
MongoDB MongoDB=2.0.1
MongoDB MongoDB=2.0.2
MongoDB MongoDB=2.0.3
MongoDB MongoDB=2.0.4
MongoDB MongoDB=2.0.5
MongoDB MongoDB=2.0.6
MongoDB MongoDB=2.0.7
MongoDB MongoDB=2.0.8
MongoDB MongoDB=2.2.0
MongoDB MongoDB=2.2.1
MongoDB MongoDB=2.2.2
MongoDB MongoDB=2.2.3
MongoDB MongoDB=2.2.4
MongoDB MongoDB=2.2.5
MongoDB MongoDB=2.2.6
MongoDB MongoDB=2.2.7
MongoDB MongoDB=2.3.0

Event History

Mar 6, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:55 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2012-6619?

CVE-2012-6619 has a moderate severity rating due to its potential to expose raw memory contents to authenticated users.

2

How do I fix CVE-2012-6619?

To fix CVE-2012-6619, upgrade MongoDB to version 2.3.2 or later.

3

Which versions of MongoDB are affected by CVE-2012-6619?

CVE-2012-6619 affects MongoDB versions prior to 2.3.2, including 2.3.1 and earlier versions.

4

Can an unauthenticated user exploit CVE-2012-6619?

No, CVE-2012-6619 requires authentication to exploit the memory over-read vulnerability.

5

What type of vulnerability is CVE-2012-6619 classified as?

CVE-2012-6619 is classified as a memory over-read vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203