8.5

CVE-2021-43790: bytecodealliance lucet Use After Free

CVSS: 8.5v3.1HighModified
AliasesGHSA-hf79-8hjp-rrvqRUSTSEC-2021-0155
Published 29-11-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-43790 is a high (CVSS 8.5) Use After Free vulnerability in bytecodealliance lucet. EPSS estimates a 1.62% chance of exploitation in the next 30 days, higher than 75.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
44/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.62%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 29-11-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.62%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

+0.05 pp

From 1.57% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.62%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Lucet

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Bytecodealliance1 product
Crates.Io1 product
  • lucet-runtime≤ 0.6.1 | ≥ 0.0.0-0 (No fix recorded)

2 vendors · 2 products

References

6 links