bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Vendor
MongoDB vulnerabilities
449 published CVES affecting MongoDB, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 449
- Critical
- 21
- High
- 213
- Medium
- 194
- Low
- 21
- Unscored
- 0
- CISA KEV
- 1
Products
- mongodb/mongodb 192
- MongoDB Server 181
- C Driver 58
- PHP Driver 17
- Ruby Driver 13
- Python Driver 10
- Compass 9
- Rust Driver 9
- BI Connector 8
- BI Connector ODBC Driver 8
- Java Driver 8
- Mongoid 8
- Go Driver 7
- libmongocrypt 7
- Ops Manager 7
- Database Tools 6
- MongoDB C Driver 6
- C++ Driver 5
- MongoDB Ops Manager 5
- mongosh 5
- Node.js Driver 5
- Entity Framework Core Provider 4
- Laravel MongoDB 4
- Laravel MongoDB (PHP) 4
- libbson 4
- Atlas SQL ODBC Driver 3
- BI Connector Transition Readiness Report 3
- MongoDB Entity Framework Core Provider 3
- mongosql transition readiness tool 3
- Atlas SQL JDBC Driver 2
Latest MongoDB CVEs
Newest publication first · page 18 of 18
-
MediumCVSS 5.5 EPSS 1.2%
-
MediumCVSS 6.5 EPSS 0.67%
X.509 certificates generated by the MongoDB Enterprise Kubernetes Operator may allow an attacker with access to the Kubernetes cluster improper access to MongoDB instances. Customers who do not use X.509 authentication, and those who do not use the Operator to generate their X.50...
-
MediumCVSS 5.4 EPSS 0.77%
Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure. This issue affects: MongoDB Inc. js-bson library version 1.1.3 and prior to.
-
CriticalCVSS 9.8 EPSS 2.3%
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's _bsotype, leading to cases where an object is serialized as a document rather than the intended BSON type.
-
HighCVSS 7.5 EPSS 6.4% PoC
The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.
-
MediumCVSS 4.2 EPSS 0.30%
Incorrect scoping of kill operations in MongoDB Server's packaged SysV init scripts allow users with write access to the PID file to insert arbitrary PIDs to be killed when the root user stops the MongoDB process via SysV init. This issue affects MongoDB Server v4.0 versions prio...
-
HighCVSS 7.8 EPSS 0.93%
An unprivileged user or program on Microsoft Windows which can create OpenSSL configuration files in a fixed location may cause utility programs shipped with MongoDB server to run attacker defined code as the user running the utility. This issue MongoDB Server v4.0 versions prior...
-
HighCVSS 7.1 EPSS 1.1%
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's session to persist and become conflated with new accounts, if those accounts reuse the names of deleted ones. This issue affects MongoDB Server v4.0 versions p...
-
CVE-2015-7882 Authentication bypass when using LDAP authentication in MongoDB Enterprise Server
PublishedHighCVSS 8.1 EPSS 1.8%Improper handling of LDAP authentication in MongoDB Server versions 3.0.0 to 3.0.6 allows an unauthenticated client to gain unauthorized access.
-
HighCVSS 8.1 EPSS 2.1%
_bson_iter_next_internal in bson-iter.c in libbson 1.12.0, as used in MongoDB mongo-c-driver and other products, has a heap-based buffer over-read via a crafted bson buffer.
-
HighCVSS 7.5 EPSS 1.9%
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a long unt...
-
HighCVSS 7.0 EPSS 0.32%
The skyring-setup command creates random password for mongodb skyring database but it writes password in plain text to /etc/skyring/skyring.conf file which is owned by root but read by local user. Any local user who has access to system running skyring service will be able to get...
-
CriticalCVSS 9.1 EPSS 1.6%
MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting, networkMessageCompressors (aka wire protocol compression), which exposes a vulnerability when enabled that could be exploited by a malicious attacker to deny service or modify mem...
-
HighCVSS 7.5 EPSS 5.5%
In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrat...
-
MediumCVSS 5.5 EPSS 0.30%
MongoDB on Red Hat Satellite 6 allows local users to bypass authentication by logging in with an empty password and delete information which can cause a Denial of Service.
-
HighCVSS 7.5 EPSS 2.5%
mongod in MongoDB 2.6, when using 2.4-style users, and 2.4 allow remote attackers to cause a denial of service (memory consumption and process termination) by leveraging in-memory database representation when authenticating against a non-existent database.
-
MediumCVSS 5.5 EPSS 0.38%
The client in MongoDB uses world-readable permissions on .dbshell history files, which might allow local users to obtain sensitive information by reading these files.
-
MediumCVSS 5.0 EPSS 2.8%
MongoDB before 2.4.13 and 2.6.x before 2.6.8 allows remote attackers to cause a denial of service via a crafted UTF-8 string in a BSON request.
-
MediumCVSS 5.0 EPSS 1.5%
The CmdAuthenticate::_authenticateX509 function in db/commands/authentication_commands.cpp in mongod in MongoDB 2.6.x before 2.6.2 allows remote attackers to cause a denial of service (daemon crash) by attempting authentication with an invalid X.509 client certificate.
-
MediumCVSS 6.4 EPSS 3.9%
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.
-
MediumCVSS 6.5 EPSS 10.1% Public exploit
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a denial of service (uninitialized pointer dereference and server crash) or possibly execute arbitrary code via an invalid RefDB object.
-
MediumCVSS 6.0 EPSS 44.5% Framework module Public exploit
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMonkey, which allows remote authenticated users to cause a denial of service (invalid memory access and server crash) or execute arbitrary code via a crafted memo...
-
CVE-2013-2132 Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo
PublishedMediumCVSS 4.3 EPSS 4.1%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."
-
MediumCVSS 6.5 EPSS 1.7%
MongoDB 2.4.x before 2.4.5 and 2.5.x before 2.5.1 allows remote authenticated users to obtain internal system privileges by leveraging a username of __system in an arbitrary database.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.