CVE-2022-4742
JavaScript vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2022-4742) was discovered in json-pointer versions up to 0.6.1. The vulnerability affects the 'set' function in index.js and involves improperly controlled modification of object prototype attributes, commonly known as 'prototype pollution'. This remotely exploitable vulnerability was disclosed in December 2022 (NVD).

Technical details

The vulnerability received a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating network accessibility, low attack complexity, and no required privileges or user interaction. The issue is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) (NVD).

Impact

The vulnerability allows remote attackers to potentially execute prototype pollution attacks, which could lead to unauthorized modification of object attributes. This could result in high impacts on confidentiality, integrity, and availability of the affected systems (NVD).

Exploitability

The vulnerability is remotely exploitable with low attack complexity and requires no privileges or user interaction. The attack vector is network-accessible, making it particularly dangerous for exposed applications (NVD).

Mitigation and workarounds

The vulnerability has been fixed in json-pointer version 0.6.2. Users are strongly recommended to upgrade to this version or later. The fix was implemented through patch 859c9984b6c407fc2d5a0a7e47c7274daa681941 (GitHub Patch).

Community reactions

The vulnerability received significant attention from the developer community, with multiple developers urging for a fix and some even creating community-maintained forks. A community version (json-pointer-community) was published as a temporary solution while waiting for the official fix (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management