8.5

CVE-2021-43790: Use After Free in lucet

Modified
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 76.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.62%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

77%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.62% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Lucet

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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

2 vendors · 2 products

References

6 links