Use After Free in Bytecodealliance Lucet

CVE-2021-43790

Lucet is a native WebAssembly compiler and runtime. There is a bug in the main branch of `lucet-runtime` affecting all versions published to crates.io that allows a use-after-free in an Instance object that could result in memory corruption, data race, or other related issues. This bug was introduced early in the development of Lucet and is present in all releases. As a result of this bug, and dependent on the memory backing for the Instance objects, it is possible to trigger a use-after-free when the Instance is dropped. Users should upgrade to the main branch of the Lucet repository. Lucet no longer provides versioned releases on crates.io. There is no way to remediate this vulnerability without upgrading.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.016 (75.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 75.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-43790: held from 0.016 to 0.016.

EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: +0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-43790?
CVE-2021-43790 is a high-severity vulnerability in Bytecodealliance Lucet, classified under Use After Free. CVSS score: 8.5/10. Published 2021-11-30.
How severe is CVE-2021-43790?
High severity. CVSS v3 base score is 8.5 out of 10.