crates.io (Rust)Worst: Critical6 advisories
cranelift-codegen: known vulnerabilities
cranelift-codegen has 6 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 high, 3 moderate, 1 low. The most recent was published 2023-03-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cranelift-codegen versions running across your servers, containers and images, and ranks what to patch first.
How to fix cranelift-codegen
Upgrade cranelift-codegen to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):
cargo update -p cranelift-codegen --precise 0.93.1 (cargo audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (6)
wasmtime vulnerable to guest-controlled out-of-bounds read/write on x86_64
Critical 9.9 CWE-125 CWE-787
— Affected: from 0.93.0 up to 0.93.1. Fixed in 0.93.1. Published 2023-03-08. GHSA-ff4p-7xrq-q5r8 · CVE-2023-26489
wasmtime vulnerable to miscompilation of `i8x16.select` with the same inputs on x86_64
Low 3.1 CWE-193
— Affected: from 0.93.0 up to 0.93.1. Fixed in 0.93.1. Published 2023-03-08. GHSA-xm67-587q-r2vw · CVE-2023-27477
Cranelift vulnerable to miscompilation of constant values in division on AArch64
Moderate 5.9 CWE-682
— Affected: before 0.85.2. Fixed in 0.85.2. Published 2022-07-22. GHSA-7f6x-jwh5-m9r4 · CVE-2022-23636
Wasmtime vulnerable to Use After Free with `externref`s
Moderate 6.4 CWE-416
— Affected: from 0.84.0 up to 0.85.2. Fixed in 0.85.2. Published 2022-07-21. GHSA-5fhj-g3p3-pq9g · CVE-2022-31146
Miscompilation of `i8x16.swizzle` and `select` with v128 inputs
Moderate 4.8 CWE-682
— Affected: before 0.85.1. Fixed in 0.85.1. Published 2022-06-28. GHSA-jqwc-c49r-4w2x · CVE-2022-31104
Memory access due to code generation flaw in Cranelift module
High 7.2 CWE-125 CWE-788
— Affected: before 0.73.1. Fixed in 0.73.1. Published 2021-05-24. GHSA-hpqh-2wqx-7qp5 · CVE-2021-32629
Find cranelift-codegen across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.