ADVISORIES

GitHub Advisory Database

GHSA-jxr4-4prv-mh83

ejson shell parser in MongoDB Compass maybe bypassed

Details

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

EcosystemPackageAffected versions
npm@mongodb-js/connection-form
All versions before 1.20.1 (fixed in 1.20.1)

References