Skip to content
StratQuad

Threats

MongoDB mongo-express Remote Code Execution via toBSON

CVE-2019-10758Known exploitedCritical

mongo-express before version 0.54.0 uses the vm dependency unsafely when executing the toBSON method on certain endpoints. An attacker who can send requests to these endpoints can execute arbitrary code on the server. The vulnerability exists because the vm module is not configured to prevent access to dangerous functions.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
9.9
CRITICAL
EPSS score
0.85
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
10 Dec 2021
CISA due date
10 Jun 2022
Applies to US federal agencies

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

MongoDB mongo-express. CISA required action: Apply updates per vendor instructions.

Weakness: CWE-94 (opens in a new tab)

Affected versions

  • mongo-express project mongo-express: before 0.54.0