VulnerabilityAnalyzed
CVE-2019-10758
MongoDB mongo-express Remote Code Execution Vulnerability
KEVCRITICAL 9.9EPSS 84.7%
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 10 June 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 9.9 CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 84.73% probability · 100th percentile
- CISA KEV
- Listed 10 December 2021 · due 10 June 2022
- Weakness
- CWE-94
- Affected
- mongo-express project/mongo-express
- Source
- report@snyk.io
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2019-10758
References
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.