GitHub Advisoryadvisory · npm

GHSA-8gwj-8hxc-285w Prototype Pollution in json-ptr

MEDIUM Published 2021-11-08 Modified 2021-11-08 Official page ↗
Aliases
CVE-2021-23509
Ecosystem
npm
Packages
json-ptr
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-1321, CWE-843
Reviewed
2021-11-04

Affected packages

• npm json-ptr: < 3.0.0 → fixed in 3.0.0

Description

This affects the package `json-ptr` before `3.0.0`. 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.

Related

Alias · CVE (1)

  • CVE-2021-23509 This affects the package json-ptr before 3.0.0. vulnerability

Weakness · CWE (2)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
  • CWE-843 Access of Resource Using Incompatible Type weakness

References