CVE-2021-23460

CVE-2021-23460 is a high-severity security vulnerability in min-dash (npm), affecting versions < 3.8.1. It is fixed in 3.8.1.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Prototype pollution in min-dash

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.

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);

CVE-2021-23460 has a CVSS score of 7.5 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (3.8.1); upgrading removes the vulnerable code path.

Affected versions

min-dash (< 3.8.1) org.webjars.npm:min-dash (< 3.8.1)

Security releases

min-dash → 3.8.1 (npm) org.webjars.npm:min-dash → 3.8.1 (maven)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

min-dash>=3.8.1 fix the issue.

Frequently Asked Questions

  1. What is CVE-2021-23460? CVE-2021-23460 is a high-severity security vulnerability in min-dash (npm), affecting versions < 3.8.1. It is fixed in 3.8.1.
  2. How severe is CVE-2021-23460? CVE-2021-23460 has a CVSS score of 7.5 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which packages are affected by CVE-2021-23460?
    • min-dash (npm) (versions < 3.8.1)
    • org.webjars.npm:min-dash (maven) (versions < 3.8.1)
  4. Is there a fix for CVE-2021-23460? Yes. CVE-2021-23460 is fixed in 3.8.1. Upgrade to this version or later.
  5. Is CVE-2021-23460 exploitable, and should I be worried? Whether CVE-2021-23460 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2021-23460 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2021-23460?
    • Upgrade min-dash to 3.8.1 or later
    • Upgrade org.webjars.npm:min-dash to 3.8.1 or later

Stop the waste.
Protect your environment with Kodem.