PT-2020-21188
Published
2020-09-04
·
Updated
2020-09-04
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
mongodb-query-parser versions prior to 2.0.0
Description
The issue concerns a failure to sanitize queries, which allows attackers to execute arbitrary code in the system. This can be achieved by parsing a specific payload, such as the one that executes
touch test-file using the following code: (function () { return (clearImmediate.constructor("return process;")()).mainModule.require("child process").execSync("touch test-file").toString()})().Recommendations
Upgrade to version 2.0.0 or later.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾