QID 996214

Date Published: 2023-12-13

QID 996214: Rust (Rust) Security Update for wasmtime (GHSA-ch89-5g45-qwc7)

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.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-ch89-5g45-qwc7 for updates and patch information.
    Vendor References

    CVEs related to QID 996214

    Software Advisories
    Advisory ID Software Component Link
    GHSA-ch89-5g45-qwc7 wasmtime URL Logo github.com/advisories/GHSA-ch89-5g45-qwc7