CVE-2022-23495 Vulnerability Analysis & Exploit Details

CVE-2022-23495
Vulnerability Scoring

7.5
/10
Very High Risk

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

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2022-23495 Details

Status: Modified

Last updated: 🕡 21 Nov 2024, 06:48 UTC
Originally published on: 🕙 08 Dec 2022, 22:15 UTC

Time between publication and last update: 713 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2022-23495 Vulnerability Summary

CVE-2022-23495: go-merkledag implements the 'DAGService' interface and adds two ipld node types, Protobuf and Raw for the ipfs project. A `ProtoNode` may be modified in such a way as to cause various encode errors which will trigger a panic on common method calls that don't allow for error returns. A `ProtoNode` should only be able to encode to valid DAG-PB, attempting to encode invalid DAG-PB forms will result in an error from the codec. Manipulation of an existing (newly created or decoded) `ProtoNode` using the modifier methods did not account for certain states that would place the `ProtoNode` into an unencodeable form. Due to conformance with the [`github.com/ipfs/go-block-format#Block`](https://pkg.go.dev/github.com/ipfs/go-block-format#Block) and [`github.com/ipfs/go-ipld-format#Node`](https://pkg.go.dev/github.com/ipfs/go-ipld-format#Node) interfaces, certain methods, which internally require a re-encode if state has changed, will panic due to the inability to return an error. This issue has been addressed across a number of pull requests. Users are advised to upgrade to version 0.8.1 for a complete set of fixes. Users unable to upgrade may attempt to mitigate this issue by sanitising inputs when allowing user-input to set a new `CidBuilder` on a `ProtoNode` and by sanitising `Tsize` (`Link#Size`) values such that they are a reasonable byte-size for sub-DAGs where derived from user-input.

Assessing the Risk of CVE-2022-23495

Access Complexity Graph

The exploitability of CVE-2022-23495 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-23495

With low attack complexity and no required privileges, CVE-2022-23495 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

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-23495, 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-23495, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2022-23495 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2022-23495 poses no threat to data integrity.
  • Availability: High
    CVE-2022-23495 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.265% (probability of exploit)

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

CVE-2022-23495 References

External References

CWE Common Weakness Enumeration

CWE-252

Vulnerable Configurations

  • cpe:2.3:a:protocol:go-merkledag:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:protocol:go-merkledag:0.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:protocol:go-merkledag:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:protocol:go-merkledag:0.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:protocol:go-merkledag:0.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:protocol:go-merkledag:0.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:protocol:go-merkledag:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:protocol:go-merkledag:0.8.0:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2022-23495: 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-2025-4156 – A vulnerability has been found in PHPGurukul Boat Booking System 1.0 and classified as critical. This vulnerability affects unknown code of the fil...
  • CVE-2025-4155 – A vulnerability, which was classified as critical, was found in PHPGurukul Boat Booking System 1.0. This affects an unknown part of the file /admin...
  • CVE-2025-47154 – LibJS in Ladybird before f5a6704 mishandles the freeing of the vector that arguments_list references, leading to a use-after-free, and allowing rem...
  • CVE-2025-4154 – A vulnerability, which was classified as critical, has been found in PHPGurukul Pre-School Enrollment System 1.0. Affected by this issue is some un...
  • CVE-2025-4153 – A vulnerability classified as critical was found in PHPGurukul Park Ticketing Management System 2.0. Affected by this vulnerability is an unknown f...