Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.
Start learningUpgrade wasmtime
to version 19.0.1 or higher.
Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') due to the use of a dropped externref
-typed element segment in conjunction with a table.*
instruction. An attacker can cause a denial-of-service by executing a valid WebAssembly module that triggers this panic.
Note:
This is only exploitable if the reference-types
WebAssembly feature is enabled, which is the default setting.
This vulnerability can be mitigated by using config.reference_types(false)
to disable these modules at validation-time, preventing the possibility of a panic at runtime. If reference-types are required, then upgrading is the only other workaround.
;; table-init.wat
(module
(table 0 0 externref)
(func (export "table-init")
(i32.const 0)
(i32.const 0)
(i32.const 0)
(table.init 0 0)
)
(elem declare externref)
)
wasmtime --invoke table-init table-init.wat