drop_globals
crates/runtime/src/instance.rs
Last patched
Overview
drop_globals in bytecodealliance/wasmtime was changed by 1 published CVE fixes in 2022, in 1 distinct patches that added or removed 7 lines in total.
bytecodealliance/wasmtime has 27 CVEs with a located fix in total, so 4% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed drop_globals, newest first, with the lines each fix touched.
CVE-2022-23636 · lines 741–752 · +6 −1
High · CVSS 8.1EPSS 0.8%2022-02-16
Get an alert when the next CVE fix lands in bytecodealliance/wasmtime, with the patched functions.
Monitor wasmtime CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1and_thencrates/runtime/src/instance.rs1 CVEs · 1 patches2024
- 2dropcrates/runtime/src/instance.rs1 CVEs · 1 patches2023
- 3globalcrates/runtime/src/instance.rs1 CVEs · 1 patches2023
- 4itercrates/runtime/src/instance.rs1 CVEs · 1 patches2024
- 5runtime_limitscrates/runtime/src/instance.rs1 CVEs · 1 patches2023
- 6set_storecrates/runtime/src/instance.rs1 CVEs · 1 patches2023
- 7tablecrates/runtime/src/instance.rs1 CVEs · 1 patches2023
- 8table_indexcrates/runtime/src/instance.rs1 CVEs · 1 patches2023
Other hotspots in the repository
Functions in bytecodealliance/wasmtime changed by the most CVE fixes.
Frequently asked questions
Common questions about CVE fixes to drop_globals.
- How many CVEs have patched drop_globals?
- 1 published CVEs changed drop_globals in bytecodealliance/wasmtime, in 1 distinct patches totalling 7 changed lines, between 2022 and 2022.
- What is the latest CVE that changed drop_globals?
- CVE-2022-23636 (Invalid drop of partially-initialized instances in the pooling instance allocator for modules with defined `externref` globals), published 2022-02-16, changed lines 741 to 752 of crates/runtime/src/instance.rs.
- How does drop_globals compare to the rest of bytecodealliance/wasmtime?
- bytecodealliance/wasmtime has 27 CVEs with a located fix in total; 1 of them changed drop_globals.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- crates/runtime/src/instance.rs on GitHub (opens in a new tab)
- All patched functions in bytecodealliance/wasmtime
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track bytecodealliance/wasmtime CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.