mongodb / mongo-perf

performance tools for mongodb
350 stars 139 forks source link

Fix Improper Control in mongo-perf possible code Injection js-yaml #157

Open sufatmawati opened 5 months ago

sufatmawati commented 5 months ago
Bug Fix

Whats Changed: Versions of js-yaml prior to 3.13.1 are vulnerable to Code Injection. The load() function may execute arbitrary code injected through a malicious YAML file. Objects that have toString as key, JavaScript code as value and are used as explicit mapping keys allow attackers to execute the supplied code through the load() function. The safeLoad() function is unaffected.

Workload Submission form: If applicable, only required if there is a new workload being added. Form can be found here