Wasmtime up to 0.29.x Garbage Collection wasm_reference_types use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Wasmtime up to 0.29.x. It has been declared as critical. Affected is the function wasmtime::Config::wasm_reference_types of the component Garbage Collection Handler. The manipulation results in use after free.
This vulnerability is cataloged as CVE-2021-39216. The attack must be initiated from a local position. There is no exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in Wasmtime up to 0.29.x. Affected is the function wasmtime::Config::wasm_reference_types of the component Garbage Collection Handler. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability.
The weakness was shared 09/18/2021 as 101998733b74624cbd348a2366d05760b40181f3. The advisory is available at github.com. This vulnerability is traded as CVE-2021-39216 since 08/16/2021. Technical details are known, but there is no available exploit.
Upgrading to version 0.30.0 eliminates this vulnerability. Applying the patch 101998733b74624cbd348a2366d05760b40181f3 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 0.10
- 0.11
- 0.12
- 0.13
- 0.14
- 0.15
- 0.16
- 0.17
- 0.18
- 0.19
- 0.20
- 0.21
- 0.22
- 0.23
- 0.24
- 0.25
- 0.26
- 0.27
- 0.28
- 0.29
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 6.3
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Wasmtime 0.30.0
Patch: 101998733b74624cbd348a2366d05760b40181f3
Timeline
08/16/2021 🔍09/18/2021 🔍
09/18/2021 🔍
09/22/2021 🔍
Sources
Advisory: 101998733b74624cbd348a2366d05760b40181f3Status: Confirmed
Confirmation: 🔍
CVE: CVE-2021-39216 (🔍)
GCVE (CVE): GCVE-0-2021-39216
GCVE (VulDB): GCVE-100-182874
Entry
Created: 09/18/2021 06:45Updated: 09/22/2021 15:02
Changes: 09/18/2021 06:45 (52), 09/22/2021 15:01 (2), 09/22/2021 15:02 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.