Wasmtime up to 0.29.x Garbage Collection wasm_reference_types use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB 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.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Wasmtime 0.30.0
Patch: 101998733b74624cbd348a2366d05760b40181f3

Timelineinfo

08/16/2021 🔍
09/18/2021 +33 days 🔍
09/18/2021 +0 days 🔍
09/22/2021 +4 days 🔍

Sourcesinfo

Advisory: 101998733b74624cbd348a2366d05760b40181f3
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2021-39216 (🔍)
GCVE (CVE): GCVE-0-2021-39216
GCVE (VulDB): GCVE-100-182874

Entryinfo

Created: 09/18/2021 06:45
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!