CVE-2019-10758MongoDB mongo-express Remote Code Execution Vulnerability
Known exploited — MongoDB mongo-express Remote Code Execution Vulnerability
CISA confirmed this vulnerability is used in real attacks on 10.12.2021. Remediation deadline for US federal agencies: 10.06.2022.
Required action: Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2019-10758
Description
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method. A misuse of the `vm` dependency to perform `exec` commands in a non-safe environment.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| mongo-express project | mongo-express | < 0.54.0 | |
| — | mongo-express | All versions prior to version 0.54.0 |
References and patches
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215 ExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758 US Government Resource
CPE matches (NVD) (1)
cpe:2.3:a:mongo-express_project:mongo-express:*:*:*:*:*:node.js:*:*< 0.54.0