CVE-2024-53900 – mongoose
Package
Manager: npm
Name: mongoose
Vulnerable Version: >=8.0.0-rc0 <8.8.3 || >=7.0.0-rc0 <7.8.3 || >=0 <6.13.5
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.52926 pctl0.97877
Details
Mongoose search injection vulnerability Mongoose versions prior to 8.8.3, 7.8.3, and 6.13.5 are vulnerable to improper use of the $where operator. This vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.
Metadata
Created: 2024-12-02T21:31:20Z
Modified: 2024-12-04T16:41:00Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-m7xq-9374-9rvx/GHSA-m7xq-9374-9rvx.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-m7xq-9374-9rvx
Finding: F106
Auto approve: 1