{"id":"CVE-2021-23460","aliases":["EUVD-2022-0586","GHSA-2m53-83f3-562j","GHSA-fm93-fhh2-cg2c"],"status":"published","title":"Prototype Pollution","description":"The package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0219,"percentile":0.82692,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2022-01-21T20:05:13Z","modified":"2026-10-20T10:53:37Z","fixes":[{"ecosystem":"npm","package":"min-dash","fixed_in":["3.8.1"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.webjars.npm:min-dash","fixed_in":["3.8.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"min-dash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.1"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.webjars.npm:min-dash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.1"}]}]},{"source":"osv","ecosystem":"npm","package":"min-dash","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.8.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.webjars.npm:min-dash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.1"}]}],"versions":["3.2.0","3.4.0","3.5.2"]}],"products":[{"vendor":"camunda","product":"min-dash"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MINDASH-2340605","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2342127","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js%23L32","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"https://github.com/bpmn-io/min-dash/pull/21","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/bpmn-io/min-dash/pull/21/commits/5ab05cbc4fd8d5eafb7db540c491ed0906b9d320","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/bpmn-io/min-dash/security/advisories/GHSA-2m53-83f3-562j","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23460","tags":["advisory"]},{"url":"https://github.com/bpmn-io/min-dash/commit/2c6689e2aa29f4b66a4874a2f3003431e9db48d1","tags":["web"]},{"url":"https://github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js#L32","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2m53-83f3-562j"},{"url":"https://github.com/advisories/GHSA-fm93-fhh2-cg2c"},{"url":"https://github.com/bpmn-io/min-dash","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23460","title":"Prototype Pollution","description":"The package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","status":"published","published":"2022-01-21T20:05:13.23Z","modified":"2024-09-16T17:15:12.528Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2022-0586","description":"The package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","status":"published","published":"2022-01-21T20:05:13Z","modified":"2024-09-16T17:15:12Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high"}],"updated_at":"2026-11-03T00:55:43.899381Z"}],"ghsa":[{"id":"GHSA-2m53-83f3-562j","title":"Prototype pollution in min-dash","description":"### Impact\n\nThe `set` method is vulnerable to prototype pollution with specially crafted inputs.\n\n```javascript\n// insert the following into poc.js and run node poc,js (after installing the package)\n \nlet parser = require(\"min-dash\");\nparser.set({}, [[\"__proto__\"], \"polluted\"], \"success\");\nconsole.log(polluted);\n```\n\n### Patches\n\n`min-dash\u003e=3.8.1` fix the issue.\n\n### Workarounds\n\nNo workarounds exist for the issue.\n\n### References\n\nClosed via https://github.com/bpmn-io/min-dash/pull/21.\n\n### Credits\n\nCredits to Cristian-Alexandru STAICU who found the vulnerability and to Idan Digmi from the Snyk Security Team who reported the vulnerability to us, responsibly.","status":"published","published":"2022-02-01T00:44:35Z","modified":"2025-07-18T19:59:31Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:38:50.834587Z"},{"id":"GHSA-fm93-fhh2-cg2c","title":"Duplicate Advisory: Prototype Pollution in min-dash","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2m53-83f3-562j. This link is maintained to preserve external references.\n\n## Original Description\nThe package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","status":"withdrawn","published":"2022-01-27T14:21:53Z","modified":"2025-07-18T19:44:34Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:38:50.834587Z"}],"nvd":[{"id":"CVE-2021-23460","description":"The package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","status":"published","published":"2022-01-21T20:15:07.903Z","modified":"2026-06-17T03:38:47.487Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:07:03.821385Z"}],"osv":[{"id":"CVE-2021-23460","description":"The package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","status":"published","published":"2022-01-21T20:15:07.903Z","modified":"2026-10-20T10:53:37.998259744Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-2m53-83f3-562j","title":"Prototype pollution in min-dash","description":"### Impact\n\nThe `set` method is vulnerable to prototype pollution with specially crafted inputs.\n\n```javascript\n// insert the following into poc.js and run node poc,js (after installing the package)\n \nlet parser = require(\"min-dash\");\nparser.set({}, [[\"__proto__\"], \"polluted\"], \"success\");\nconsole.log(polluted);\n```\n\n### Patches\n\n`min-dash\u003e=3.8.1` fix the issue.\n\n### Workarounds\n\nNo workarounds exist for the issue.\n\n### References\n\nClosed via https://github.com/bpmn-io/min-dash/pull/21.\n\n### Credits\n\nCredits to Cristian-Alexandru STAICU who found the vulnerability and to Idan Digmi from the Snyk Security Team who reported the vulnerability to us, responsibly.","status":"published","published":"2022-02-01T00:44:35Z","modified":"2025-07-18T20:12:18.479182Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"GHSA-fm93-fhh2-cg2c","title":"Duplicate Advisory: Prototype Pollution in min-dash","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2m53-83f3-562j. This link is maintained to preserve external references.\n\n## Original Description\nThe package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.","status":"withdrawn","published":"2022-01-27T14:21:53Z","modified":"2025-07-18T19:44:32Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
