PT-2024-35970 · Mongoose · Mongoose

Balles

+1

·

Published

2024-11-26

·

Updated

2025-11-10

·

CVE-2024-53900

CVSS v2.0

9.4

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions Mongoose versions prior to 8.8.3
Description The issue is related to the improper use of the $where operator in Mongoose, which can lead to search injection and potentially allow a remote attacker to execute arbitrary code and gain read and write access to data. The vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries.
Recommendations For versions prior to 8.8.3, update to version 8.8.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of the $where operator in match queries to minimize the risk of exploitation.

Fix

RCE

SQL injection

Weakness Enumeration

Related Identifiers

BDU:2025-01987
BIT-MONGOOSE-2024-53900
CVE-2024-53900
GHSA-M7XQ-9374-9RVX

Affected Products

Mongoose