Skip to content

CVE-2024-6376 ejson shell parser in MongoDB Compass maybe bypassed

CriticalCVSS 9.8 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Compass < 1.42.2 1.42.2 Fixed
mongodb-js @mongodb-js/connection-form(npm) < 1.20.1 1.20.1 Fixed

Affected products

ProductAffected versionsFixed in
mongodb-js @mongodb-js/connection-form(npm) < 1.20.1 1.20.1
MongoDB Compass < 1.42.2 1.42.2

References