MongoDB mongo-express Remote Code Execution via toBSON
CVE-2019-10758Known exploitedCritical
mongo-express before version 0.54.0 uses the vm dependency unsafely when executing the toBSON method on certain endpoints. An attacker who can send requests to these endpoints can execute arbitrary code on the server. The vulnerability exists because the vm module is not configured to prevent access to dangerous functions.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 10 Dec 2021
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Detail
MongoDB mongo-express. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-94 (opens in a new tab)
Affected versions
- mongo-express project mongo-express: before 0.54.0