Security mailing lists by PureSourceCode

CVE-2021-43790

HIGH 8.1CVSS 3.1

Use After Free in lucet

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.

Published
30 Nov 2021
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-416
Also known as
GHSA-hf79-8hjp-rrvqRUSTSEC-2021-0155
Sources
NVDJSONOSV GHSA-hf79-8hjp-rrvqJSONOSV RUSTSEC-2021-0155JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV RustSec CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bytecodealliance lucet
cpe:2.3:a:bytecodealliance:lucet:*:*:*:*:*:rust:*:*
<= 0.6.1
OSV crates.io lucet-runtime <= 0.6.1
OSV crates.io lucet-runtime >= 0.0.0-0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Nov 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Nov 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.