Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. json-ptr
  4. ›
  5. CVE-2021-23509

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

November 3, 2021 (updated November 5, 2021)

This affects the package json-ptr A type confusion vulnerability can lead to a bypass of CVE-2020-7766 when the user-provided keys used in the pointer parameter are arrays.

References

  • github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca
  • nvd.nist.gov/vuln/detail/CVE-2021-23509

Code Behaviors & Features

Detect and mitigate CVE-2021-23509 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.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 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/json-ptr/CVE-2021-23509.yml

Spotted a mistake? Edit the file on GitLab.

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

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