Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. set-value
  4. ›
  5. CVE-2021-23440

CVE-2021-23440: Access of Resource Using Incompatible Type (Type Confusion)

September 12, 2021 (updated March 29, 2022)

This affects the package set-value A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-23440

Code Behaviors & Features

Detect and mitigate CVE-2021-23440 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 2.0.1, all versions starting from 3.0.0 before 4.0.1

Fixed versions

  • 2.0.1
  • 4.0.1

Solution

Upgrade to versions 2.0.1, 4.0.1 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

npm/set-value/CVE-2021-23440.yml

Spotted a mistake? Edit the file on GitLab.

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

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