CVE-2023-27477: RUSTSEC-2023-0093 - Miscompilation of `i8x16.select` with the same inputs on x86\_64

CVE-2023-27477 · Severity: low · CVSS 3.1 · Published 2023-03-03

Miscompilation of `i8x16.select` with the same inputs on x86\_64

Technologies: cranelift-codegen (crates.io), wasmtime (crates.io). Vendors: crates.io.

Quick answers

Is CVE-2023-27477 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-27477 being exploited in the wild.
How severe is CVE-2023-27477?
Low severity, with a CVSS score of 3.1, published 3 March 2023.
Which products and versions are affected?
cranelift-codegen (crates.io) SEMVER:introduced=0.88.0,fixed=0.91.1; wasmtime (crates.io) SEMVER:introduced=0.0.0-0,fixed=4.0.1,introduced=5.0.0,fixed=5.0.1,introduced=6.0.0,fixed=6.0.1, SEMVER:introduced=1.0.0,fixed=4.0.1.
Is there a fix for CVE-2023-27477?
Yes. cranelift-codegen (crates.io): upgrade to 0.91.1 or later; wasmtime (crates.io): upgrade to 4.0.1, 6.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-27477?
Check whether you run cranelift-codegen (crates.io) or wasmtime (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • cranelift-codegen (crates.io): upgrade to 0.91.1 or later
    cargo update -p cranelift-codegen
  • wasmtime (crates.io): upgrade to 4.0.1, 6.0.1 or later
    cargo update -p wasmtime

Affected products

  • cranelift-codegen (crates.io) SEMVER:introduced=0.88.0,fixed=0.91.1
  • wasmtime (crates.io) SEMVER:introduced=0.0.0-0,fixed=4.0.1,introduced=5.0.0,fixed=5.0.1,introduced=6.0.0,fixed=6.0.1, SEMVER:introduced=1.0.0,fixed=4.0.1

Identifiers

  • CVE-2023-27477
  • GHSA-xm67-587q-r2vw
  • RUSTSEC-2023-0093

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.