Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-30624

3.9 · LOW
Published Apr 27, 2023 bytecodealliance CWE-758 EPSS 0.45% (37th pctl)

Overview

CVE-2023-30624 is a low-severity vulnerability affecting bytecodealliance wasmtime. It was published on April 27, 2023 and has a CVSS 3.1 base score of 3.9 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.9, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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 c

Remediation

Check the references section for vendor advisories and patches from bytecodealliance. Update wasmtime to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
bytecodealliance wasmtime >= 0, < 6.0.2 Affected

Frequently Asked Questions

What is CVE-2023-30624?

CVE-2023-30624 is a low-severity vulnerability affecting bytecodealliance wasmtime. It was published on April 27, 2023 and has a CVSS 3.1 base score of 3.9 (LOW).

How severe is CVE-2023-30624?

This vulnerability has a CVSS 3.1 base score of 3.9, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-30624?

Check the references section for vendor advisories and patches from bytecodealliance. Update wasmtime to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-30624?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-30624 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.