CVE & CISA-KEV Catalog

CVE-2022-23636

MEDIUM
5.1
CVSS v3
NVD

Description

Wasmtime is an open source runtime for WebAssembly & WASI. Prior to versions 0.34.1 and 0.33.1, there exists a bug in the pooling instance allocator in Wasmtime's runtime where a failure to instantiate an instance for a module that defines an `externref` global will result in an invalid drop of a `VMExternRef` via an uninitialized pointer. A number of conditions listed in the GitHub Security Advisory must be true in order for an instance to be vulnerable to this issue. Maintainers believe that the effective impact of this bug is relatively small because the usage of `externref` is still uncommon and without a resource limiter configured on the `Store`, which is not the default configuration, it is only possible to trigger the bug from an error returned by `mprotect` or `VirtualAlloc`. Note that on Linux with the `uffd` feature enabled, it is only possible to trigger the bug from a resource limiter as the call to `mprotect` is skipped. The bug has been fixed in 0.34.1 and 0.33.1 and users are encouraged to upgrade as soon as possible. If it is not possible to upgrade to version 0.34.1 or 0.33.1 of the `wasmtime` crate, it is recommend that support for the reference types proposal be disabled by passing `false` to `Config::wasm_reference_types`. Doing so will prevent modules that use `externref` from being loaded entirely.

How to fix

Remediation Available
wasmtimeNVD
Affected:< 0.33.1Fixed in:0.33.1CVE-2022-23636derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.76%probability of exploitation in 30 days
51stpercentile

Moderate risk: more likely to be exploited than 51% of all known CVEs.

References

Mitigation1

Related Vulnerabilities

Other CWE-824 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2018-9948Medium6.564%--
CVE-2018-11803High7.558%-Fix
CVE-2022-21971High7.854%KEVFix
CVE-2010-1818High9.343%--
CVE-2015-1770High8.835%KEV-
CVE-2017-12561Critical9.831%--
Embed a live status badge for CVE-2022-23636
CVE-2022-23636 severity badge

Markdown

[![CVE-2022-23636](https://tridentstack.com/cve/badge/CVE-2022-23636.svg)](https://tridentstack.com/cve/CVE-2022-23636)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-23636"><img src="https://tridentstack.com/cve/badge/CVE-2022-23636.svg" alt="CVE-2022-23636"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.