CVE-2021-43790

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43790
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-43790.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-43790
Aliases
Related
Published
2021-11-30T00:15:07Z
Modified
2025-01-08T13:26:39.839218Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/bytecodealliance/lucet

Affected ranges

Type
GIT
Repo
https://github.com/bytecodealliance/lucet
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.1.1
0.2.0
0.2.1
0.2.2
0.3.0
0.3.1
0.4.1
0.5.0
0.5.1
0.6.0
0.6.1

Other

before-deleting-c-runtime