7.5high
Prototype Pollution
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 2.26% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-2m53-83f3-562j
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| min-dash | from unspecified before 3.8.1 | CVE List |
| min-dash (npm) | before 3.8.1 | GitHub Advisory Database |
| org.webjars.npm:min-dash (Maven) | before 3.8.1 | GitHub Advisory Database |
| camunda min-dash | before 3.8.1 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
The package min-dash before 3.8.1 are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.
GitHub Advisory Database
Impact
The set method is vulnerable to prototype pollution with specially crafted inputs.
// insert the following into poc.js and run node poc,js (after installing the package)
let parser = require("min-dash");
parser.set({}, [["__proto__"], "polluted"], "success");
console.log(polluted);
Patches
min-dash>=3.8.1 fix the issue.
Workarounds
No workarounds exist for the issue.
References
Closed via https://github.com/bpmn-io/min-dash/pull/21.
Credits
Credits to Cristian-Alexandru STAICU who found the vulnerability and to Idan Digmi from the Snyk Security Team who reported the vulnerability to us, responsibly.
NVD (es)
El paquete min-dash versiones anteriores a 3.8.1 es vulnerable a una Contaminación de Prototipos por el método set debido a una falta de aplicación de los tipos de clave
References
| https://snyk.io/vuln/SNYK-JS-MINDASH-2340605 | exploit, mitigation, patch, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2342127 | exploit, mitigation, patch, third-party-advisory, web | |
| https://github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js%23L32 | broken-link, third-party-advisory | |
| https://github.com/bpmn-io/min-dash/pull/21 | patch, third-party-advisory, web | |
| https://github.com/bpmn-io/min-dash/pull/21/commits/5ab05cbc4fd8d5eafb7db540c491ed0906b9d320 | patch, third-party-advisory | |
| https://github.com/bpmn-io/min-dash/security/advisories/GHSA-2m53-83f3-562j | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23460 | advisory | |
| https://github.com/bpmn-io/min-dash/commit/2c6689e2aa29f4b66a4874a2f3003431e9db48d1 | web | |
| https://github.com/bpmn-io/min-dash | package | |
| https://github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js#L32 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23460 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2m53-83f3-562j changed 2025-07-18 | CC-BY-4.0 |
| NVD | CVE-2021-23460 changed 2026-06-17 | Public domain |