CVE-2020-18382
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-18382 is a heap-buffer-overflow vulnerability discovered in Binaryen version 1.38.26, specifically in the wasm::WasmBinaryBuilder::visitBlock(wasm::Block*) function within /src/wasm/wasm-binary.cpp. The vulnerability was disclosed on August 22, 2023. When exploited, a specially crafted WebAssembly (wasm) input can trigger a segmentation fault, leading to denial-of-service conditions (GitHub Issue).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 6.5 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The issue occurs in the visitBlock function where a heap buffer overflow can be triggered during the processing of WebAssembly binary code. The vulnerability is classified as CWE-787 (Out-of-bounds Write) (NVD).

Impact

When successfully exploited, this vulnerability can cause a segmentation fault in the wasm-opt tool, resulting in a denial-of-service condition. The attack primarily affects the availability of the system, with no direct impact on confidentiality or integrity (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management