CVE-2021-43790

Public Exploit
Use After Free in lucet

Description

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.

Category

8.5
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.48%
Third-Party Advisory crates.io Third-Party Advisory github.com Third-Party Advisory github.com
Affected: bytecodealliance lucet
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-43790?
CVE-2021-43790 has been scored as a high severity vulnerability.
How to fix CVE-2021-43790?
To fix CVE-2021-43790, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-43790 being actively exploited in the wild?
It is possible that CVE-2021-43790 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-43790?
CVE-2021-43790 affects bytecodealliance lucet.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.