CVE-2019-10758 is a vulnerability in Mongo Expressproject Mongo Express
Published on December 24, 2019
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.
Known Exploited Vulnerability
This MongoDB mongo-express Remote Code Execution Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method.
The following remediation steps are recommended / required by June 10, 2022: Apply updates per vendor instructions.
Vulnerability Analysis
CVE-2019-10758 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Code Injection Vulnerability?
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CVE-2019-10758 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2019-10758
Want to know whenever a new CVE is published for Mongo Expressproject Mongo Express? stack.watch will email you.
Vulnerable Packages
The following package name and versions may be associated with CVE-2019-10758
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| npm | mongo-express | < 0.54.0 | 0.54.0 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.