Known exploited vulnerability
CVE-2019-10758
The short answer
CVE-2019-10758 affects n/a mongo-express and is rated critical (CVSS 9.9). CISA added it to the Known Exploited Vulnerabilities catalog on 2021-12-10: attackers are using it, so patch it first. Fixed versions are published for mongo-express (0.54.0).
What it is
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.
Weakness: CWE-94.
Severity
9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Dec 10, 2021
Federal due date Jun 10, 2022
EPSS, next 30 days
85%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply updates per vendor instructions.
Affected packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| mongo-express | npm | 0.54.0 | GHSA-h47j-hc6x-h3qq |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
mongo-express. NVD's record lists the exact affected versions.
References
- snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215 ExploitThird Party Advisory
- snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215 ExploitThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758 US Government Resource
Questions
Is CVE-2019-10758 being exploited?
Yes. CISA added CVE-2019-10758 to its Known Exploited Vulnerabilities catalog on 2021-12-10, with a federal remediation due date of 2022-06-10.
How do I fix CVE-2019-10758?
Upgrade to a fixed version: mongo-express (npm) 0.54.0. CISA's required action: Apply updates per vendor instructions.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
MongoDB exploited vulnerabilities
Everything CISA lists as exploited for MongoDB.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.