CVE-2021-32629: RUSTSEC-2021-0067 - Memory access due to code generation flaw in Cranelift module

CVE-2021-32629 · Severity: low · CVSS 3.1 · Published 2021-05-21

Memory access due to code generation flaw in Cranelift module

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

Quick answers

Is CVE-2021-32629 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-32629 being exploited in the wild.
How severe is CVE-2021-32629?
Low severity, with a CVSS score of 3.1, published 21 May 2021.
Which products and versions are affected?
cranelift-codegen (crates.io) SEMVER:introduced=0,fixed=0.73.1, SEMVER:introduced=0.0.0-0,fixed=0.73.1; wasmtime (PyPI) GIT:introduced=0,fixed=95559c01aaa7c061088a433040f31e8291fb09d0|ECOSYSTEM:introduced=0,fixed=0.27.0.
Is there a fix for CVE-2021-32629?
Yes. cranelift-codegen (crates.io): upgrade to 0.73.1 or later; wasmtime (PyPI): upgrade to 0.27.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-32629?
Check whether you run cranelift-codegen (crates.io) or wasmtime (PyPI) 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.73.1 or later
    cargo update -p cranelift-codegen
  • wasmtime (PyPI): upgrade to 0.27.0 or later
    pip install "wasmtime>=0.27.0"

Affected products

  • cranelift-codegen (crates.io) SEMVER:introduced=0,fixed=0.73.1, SEMVER:introduced=0.0.0-0,fixed=0.73.1
  • wasmtime (PyPI) GIT:introduced=0,fixed=95559c01aaa7c061088a433040f31e8291fb09d0|ECOSYSTEM:introduced=0,fixed=0.27.0

Identifiers

  • CVE-2021-32629
  • GHSA-hpqh-2wqx-7qp5
  • PYSEC-2021-87
  • RUSTSEC-2021-0067

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