CVE-2022-39392 Vulnerability Analysis & Exploit Details

CVE-2022-39392
Vulnerability Scoring

5.9
/10
Significant Risk

Security assessments indicate that CVE-2022-39392 presents a notable risk, potentially requiring prompt mitigation.

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: High
    High-level 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-39392 Details

Status: Modified

Last updated: 🕖 21 Nov 2024, 07:18 UTC
Originally published on: 🕗 10 Nov 2022, 20:15 UTC

Time between publication and last update: 741 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2022-39392 Vulnerability Summary

CVE-2022-39392: Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory. In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-required configuration requirements for safely executing WebAssembly modules. Wasmtime's default settings require virtual memory page faults to indicate that wasm reads/writes are out-of-bounds, but the pooling allocator's configuration would not create an appropriate virtual memory mapping for this meaning out of bounds reads/writes can successfully read/write memory unrelated to the wasm sandbox within range of the base address of the memory mapping created by the pooling allocator. This bug is not applicable with the default settings of the `wasmtime` crate. This bug can only be triggered by setting `InstanceLimits::memory_pages` to zero. This is expected to be a very rare configuration since this means that wasm modules cannot allocate any pages of linear memory. All wasm modules produced by all current toolchains are highly likely to use linear memory, so it's expected to be unlikely that this configuration is set to zero by any production embedding of Wasmtime. This bug has been patched and users should upgrade to Wasmtime 2.0.2. This bug can be worked around by increasing the `memory_pages` allotment when configuring the pooling allocator to a value greater than zero. If an embedding wishes to still prevent memory from actually being used then the `Store::limiter` method can be used to dynamically disallow growth of memory beyond 0 bytes large. Note that the default `memory_pages` value is greater than zero.

Assessing the Risk of CVE-2022-39392

Access Complexity Graph

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

The exploitability of CVE-2022-39392 is influenced by multiple factors. Security teams should analyze system configurations and apply appropriate countermeasures to mitigate threats.

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-39392, 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-39392, 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-39392 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2022-39392 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: None
    CVE-2022-39392 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

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

EPSS Score: 0.125% (probability of exploit)

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

CVE-2022-39392 References

External References

CWE Common Weakness Enumeration

CWE-787

Vulnerable Configurations

  • cpe:2.3:a:bytecodealliance:wasmtime:0.2.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.2.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.3.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.3.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.4.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.4.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.6.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.6.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.8.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.8.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.9.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.9.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.10.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.10.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.11.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.11.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.12.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.12.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.15.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.15.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.16.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.16.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.17.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.17.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.18.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.18.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.19.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.19.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.20.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.20.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.21.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.21.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.22.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.22.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.22.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.22.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.23.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.23.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.24.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.24.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.25.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.25.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.26.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.26.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.26.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.26.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.27.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.27.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.28.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.28.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.29.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.29.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.30.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.30.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.31.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.31.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.32.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.32.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.32.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.32.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.33.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.33.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.33.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.33.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.34.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.34.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.34.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.34.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.34.2:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.34.2:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.35.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.35.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.35.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.35.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.35.2:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.35.2:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.36.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.36.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.37.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.37.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.38.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.38.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.38.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.38.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.38.2:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.38.2:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.38.3:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.38.3:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.39.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.39.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.39.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.39.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.40.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.40.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:0.40.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:0.40.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:1.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:1.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:1.0.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:1.0.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:2.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:2.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:2.0.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:2.0.1:*:*:*:*:rust:*:*

Protect Your Infrastructure against CVE-2022-39392: 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-3815 – The SurveyJS plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 1.12.32...
  • CVE-2025-4222 – The Database Toolset plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.8.4 via backup fi...
  • CVE-2025-4199 – The Abundatrade Plugin plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.8.02. This is due t...
  • CVE-2025-4198 – The Alink Tap plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.3.1. This is due to missing ...
  • CVE-2025-4188 – The Advanced Reorder Image Text Slider plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. ...