Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MongoDB Inc. | Mongoid | unaffected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mongodb | Mongoid |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.434% probability within 30 days)
| Link | Providers |
|---|---|
| https://jira.mongodb.org/browse/MONGOID-5993 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* cpe:2.3:a:mongodb:mongoid:9.1.0:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mongodb
Mongodb mongoid |
|
| Vendors & Products |
Mongodb
Mongodb mongoid |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Mongoid does not neutralize a string-typed query criterion supplied to its query builder, and instead passes it to the database as a server-side JavaScript expression. An unauthenticated party able to influence the value an application supplies as a query argument may cause code of their choosing to be evaluated by the database engine. This may result in unintended disclosure of stored field values, unintended selection of documents for application-initiated writes, and reduced database performance. | |
| Title | Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|