Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. org.webjars.npm:json-pointer
  4. ›
  5. CVE-2021-23807

CVE-2021-23807: Prototype Pollution in node-jsonpointer

November 8, 2021 (updated March 5, 2025)

This affects the package jsonpointer before 5.0.0. A type confusion vulnerability can lead to a bypass of a previous Prototype Pollution fix when the pointer components are arrays.

References

  • github.com/advisories/GHSA-282f-qqgm-c34q
  • github.com/janl/node-jsonpointer
  • github.com/janl/node-jsonpointer/commit/a0345f3550cd9c4d89f33b126390202b89510ad4
  • github.com/janl/node-jsonpointer/pull/51
  • nvd.nist.gov/vuln/detail/CVE-2021-23807
  • snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910273
  • snyk.io/vuln/SNYK-JS-JSONPOINTER-1577288

Code Behaviors & Features

Detect and mitigate CVE-2021-23807 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 5.0.0

Fixed versions

  • 5.0.0

Solution

Upgrade to version 5.0.0 or above.

Impact 5.6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

npm/org.webjars.npm:json-pointer/CVE-2021-23807.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:45 +0000.