Known exploited vulnerability

CVE-2019-10758

criticalCVSS 3.1 9.9In CISA KEVEPSS 85%Published · n/a

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

PackageEcosystemFixed inAdvisory
mongo-expressnpm0.54.0GHSA-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

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

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.