Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. min-dash
  4. ›
  5. CVE-2021-23460

CVE-2021-23460: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

January 21, 2022 (updated January 26, 2022)

The package min-dash is vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.

References

  • github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js%23L32
  • github.com/bpmn-io/min-dash/pull/21
  • github.com/bpmn-io/min-dash/pull/21/commits/5ab05cbc4fd8d5eafb7db540c491ed0906b9d320
  • nvd.nist.gov/vuln/detail/CVE-2021-23460
  • snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2342127
  • snyk.io/vuln/SNYK-JS-MINDASH-2340605

Code Behaviors & Features

Detect and mitigate CVE-2021-23460 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.8.1

Fixed versions

  • 3.8.1

Solution

Upgrade to version 3.8.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/min-dash/CVE-2021-23460.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.