NetSight
high7.0

CVE-2024-6376

ejson shell parser in MongoDB Compass maybe bypassed

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npm@mongodb-js/connection-form< 1.20.11.20.1

Affected products

VendorProductAffected versions
MongodbCompass
before 1.42.2

Weakness classification

References