Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. json-pointer
  4. ›
  5. CVE-2022-4742

CVE-2022-4742: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

December 26, 2022 (updated November 9, 2023)

A vulnerability, which was classified as critical, has been found in json-pointer. Affected by this issue is the function set of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes (‘prototype pollution’). The attack may be launched remotely. The name of the patch is 859c9984b6c407fc2d5a0a7e47c7274daa681941. It is recommended to apply a patch to fix this issue. VDB-216794 is the identifier assigned to this vulnerability.

References

  • github.com/advisories/GHSA-6xrf-q977-5vgc
  • github.com/manuelstofer/json-pointer/commit/859c9984b6c407fc2d5a0a7e47c7274daa681941
  • github.com/manuelstofer/json-pointer/pull/36
  • nvd.nist.gov/vuln/detail/CVE-2022-4742
  • vuldb.com/?ctiid.216794
  • vuldb.com/?id.216794

Code Behaviors & Features

Detect and mitigate CVE-2022-4742 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 0.6.2

Fixed versions

  • 0.6.2

Solution

Upgrade to version 0.6.2 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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/json-pointer/CVE-2022-4742.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:43 +0000.