CVE-2022-46175 Vulnerability Analysis & Exploit Details

CVE-2022-46175
Vulnerability Scoring

7.1
/10
Very High Risk

Highly exploitable, CVE-2022-46175 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2022-46175 Details

Status: Modified

Last updated: 🕢 21 Nov 2024, 07:30 UTC
Originally published on: 🕓 24 Dec 2022, 04:15 UTC

Time between publication and last update: 698 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2022-46175 Vulnerability Summary

CVE-2022-46175: JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). The `parse` method of the JSON5 library before and including versions 1.0.1 and 2.2.1 does not restrict parsing of keys named `__proto__`, allowing specially crafted strings to pollute the prototype of the resulting object. This vulnerability pollutes the prototype of the object returned by `JSON5.parse` and not the global Object prototype, which is the commonly understood definition of Prototype Pollution. However, polluting the prototype of a single object can have significant security impact for an application if the object is later used in trusted operations. This vulnerability could allow an attacker to set arbitrary and unexpected keys on the object returned from `JSON5.parse`. The actual impact will depend on how applications utilize the returned object and how they filter unwanted keys, but could include denial of service, cross-site scripting, elevation of privilege, and in extreme cases, remote code execution. `JSON5.parse` should restrict parsing of `__proto__` keys when parsing JSON strings to objects. As a point of reference, the `JSON.parse` method included in JavaScript ignores `__proto__` keys. Simply changing `JSON5.parse` to `JSON.parse` in the examples above mitigates this vulnerability. This vulnerability is patched in json5 versions 1.0.2, 2.2.2, and later.

Assessing the Risk of CVE-2022-46175

Access Complexity Graph

The exploitability of CVE-2022-46175 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2022-46175

This vulnerability, CVE-2022-46175, requires a high level of attack complexity and low privileges, making it difficult but not impossible to exploit. Organizations should ensure robust security configurations to mitigate risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2022-46175, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2022-46175, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2022-46175 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: Low
    Exploiting CVE-2022-46175 may cause minor changes to data without severely impacting its accuracy.
  • Availability: High
    CVE-2022-46175 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.849% (probability of exploit)

EPSS Percentile: 82.35% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 17.650000000000006% of others.

CVE-2022-46175 References

External References

CWE Common Weakness Enumeration

CWE-1321

CAPEC Common Attack Pattern Enumeration and Classification

  • Accessing Functionality Not Properly Constrained by ACLs CAPEC-1 In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to.
  • Exploiting Incorrectly Configured Access Control Security Levels CAPEC-180 An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack.
  • Manipulating User-Controlled Variables CAPEC-77 This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Vulnerable Configurations

  • cpe:2.3:a:json5:json5:0.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.3.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.3.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.4.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.4.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.5.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.5.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:0.5.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:0.5.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:1.0.0:-:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:1.0.0:-:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:1.0.0:beta:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:1.0.0:beta:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:1.0.0:beta2:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:1.0.0:beta2:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:1.0.0:beta3:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:1.0.0:beta3:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:1.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:1.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.1.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.1.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.1.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.1.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:json5:json5:2.2.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:json5:json5:2.2.1:*:*:*:*:node.js:*:*
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2022-46175: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2024-43107 – Improper Certificate Validation (CWE-295) in the Gallagher Milestone Integration Plugin (MIP) permits unauthenticated messages (e.g. alarm events) ...
  • CVE-2024-41724 – Improper Certificate Validation (CWE-295) in the Gallagher Command Centre SALTO integration allowed an attacker to spoof the SALTO server. Thi...
  • CVE-2025-2133 – A vulnerability classified as problematic was found in ftcms 2.1. Affected by this vulnerability is an unknown functionality of the file /admin/ind...
  • CVE-2025-2132 – A vulnerability classified as critical has been found in ftcms 2.1. Affected is an unknown function of the file /admin/index.php/web/ajax_all_lists...
  • CVE-2025-2131 – A vulnerability was found in dayrui XunRuiCMS up to 4.6.3. It has been rated as problematic. This issue affects some unknown processing of the comp...