CVE-2023-30624 Vulnerability Analysis & Exploit Details

CVE-2023-30624
Vulnerability Scoring

3.9
/10
Moderate Risk

Exploiting CVE-2023-30624 requires specific conditions, leading to a moderate security impact.

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: Required
    User interaction is necessary for successful exploitation.

CVE-2023-30624 Details

Status: Modified

Last updated: 🕗 21 Nov 2024, 08:00 UTC
Originally published on: 🕔 27 Apr 2023, 17:15 UTC

Time between publication and last update: 573 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:R/S:U/C:L/I:L/A:L

CVE-2023-30624 Vulnerability Summary

CVE-2023-30624: Wasmtime is a standalone runtime for WebAssembly. Prior to versions 6.0.2, 7.0.1, and 8.0.1, Wasmtime's implementation of managing per-instance state, such as tables and memories, contains LLVM-level undefined behavior. This undefined behavior was found to cause runtime-level issues when compiled with LLVM 16 which causes some writes, which are critical for correctness, to be optimized away. Vulnerable versions of Wasmtime compiled with Rust 1.70, which is currently in beta, or later are known to have incorrectly compiled functions. Versions of Wasmtime compiled with the current Rust stable release, 1.69, and prior are not known at this time to have any issues, but can theoretically exhibit potential issues. The underlying problem is that Wasmtime's runtime state for an instance involves a Rust-defined structure called `Instance` which has a trailing `VMContext` structure after it. This `VMContext` structure has a runtime-defined layout that is unique per-module. This representation cannot be expressed with safe code in Rust so `unsafe` code is required to maintain this state. The code doing this, however, has methods which take `&self` as an argument but modify data in the `VMContext` part of the allocation. This means that pointers derived from `&self` are mutated. This is typically not allowed, except in the presence of `UnsafeCell`, in Rust. When compiled to LLVM these functions have `noalias readonly` parameters which means it's UB to write through the pointers. Wasmtime's internal representation and management of `VMContext` has been updated to use `&mut self` methods where appropriate. Additionally verification tools for `unsafe` code in Rust, such as `cargo miri`, are planned to be executed on the `main` branch soon to fix any Rust-level issues that may be exploited in future compiler versions. Precomplied binaries available for Wasmtime from GitHub releases have been compiled with at most LLVM 15 so are not known to be vulnerable. As mentioned above, however, it's still recommended to update. Wasmtime version 6.0.2, 7.0.1, and 8.0.1 have been issued which contain the patch necessary to work correctly on LLVM 16 and have no known UB on LLVM 15 and earlier. If Wasmtime is compiled with Rust 1.69 and prior, which use LLVM 15, then there are no known issues. There is a theoretical possibility for undefined behavior to exploited, however, so it's recommended that users upgrade to a patched version of Wasmtime. Users using beta Rust (1.70 at this time) or nightly Rust (1.71 at this time) must update to a patched version to work correctly.

Assessing the Risk of CVE-2023-30624

Access Complexity Graph

The exploitability of CVE-2023-30624 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-2023-30624

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

  • Confidentiality: Low
    CVE-2023-30624 could lead to minor leaks of non-critical information without major privacy breaches.
  • Integrity: Low
    Exploiting CVE-2023-30624 may cause minor changes to data without severely impacting its accuracy.
  • Availability: Low
    CVE-2023-30624 may slightly degrade system performance without fully affecting service 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.153% (probability of exploit)

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

CVE-2023-30624 References

External References

CWE Common Weakness Enumeration

CWE-758

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:1.0.2:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:1.0.2:*:*:*:*: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:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:2.0.2:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:2.0.2:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:3.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:3.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:3.0.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:3.0.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:4.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:4.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:4.0.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:4.0.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:5.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:5.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:5.0.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:5.0.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:6.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:6.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:6.0.1:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:6.0.1:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:7.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:7.0.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:bytecodealliance:wasmtime:8.0.0:*:*:*:*:rust:*:*
    cpe:2.3:a:bytecodealliance:wasmtime:8.0.0:*:*:*:*:rust:*:*

Protect Your Infrastructure against CVE-2023-30624: 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-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...
  • CVE-2025-2125 – A vulnerability has been found in Control iD RH iD 25.2.25.0 and classified as problematic. This vulnerability affects unknown code of the file /v2...
  • CVE-2025-2124 – A vulnerability, which was classified as problematic, was found in Control iD RH iD 25.2.25.0. This affects an unknown part of the file /v2/custome...