QID 997086

Date Published: 2024-02-02

QID 997086: Rust (Rust) Security Update for wasmtime (GHSA-h84q-m8rr-3v9q)

There is a bug in Wasmtime's C API implementation where the definition of the wasmtime_trap_code does not match its declared signature in the wasmtime/trap.h header file. This discrepancy causes the function implementation to perform a 4-byte write into a 1-byte buffer provided by the caller. This can lead to three zero bytes being written beyond the 1-byte location provided by the caller.

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

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-h84q-m8rr-3v9q for updates and patch information.
    Vendor References

    CVEs related to QID 997086

    Software Advisories
    Advisory ID Software Component Link
    GHSA-h84q-m8rr-3v9q wasmtime URL Logo github.com/advisories/GHSA-h84q-m8rr-3v9q