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.
Recommendation
Update the @mongodb-js/connection-form package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.20.1
- Patched version(s): 1.20.1
References
Could your website be exposed too?
SmartScanner can check your website for ejson shell parser in MongoDB Compass maybe bypassed and gives you actionable findings to investigate.
Start a free scanRelated Issues
- json-schema-ref-parser Prototype Pollution issue - CVE-2024-29651
- KaTeX's maxExpand bypassed by `\edef` - CVE-2024-28243
- fast-xml-parser vulnerable to ReDOS at currency parsing - CVE-2024-41818
- KaTeX's maxExpand bypassed by Unicode sub/superscripts - CVE-2024-28244


