CVE-2019-7704 Denial of service in n/a

Medium 6.5 Published Updated

An attacker can cause a denial of service by triggering excessive memory allocation in the Binaryen library during WebAssembly binary processing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-7704?

CVE-2019-7704 is a medium-severity denial of service vulnerability in n/a, published on 10 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

wasm::WasmBinaryBuilder::readUserSection in wasm-binary.cpp in Binaryen 1.38.22 triggers an attempt at excessive memory allocation, as demonstrated by wasm-merge and wasm-opt.

Weakness: CWE-770

Which versions are affected by CVE-2019-7704?

It affects 1 product.

Products include Webassembly Binaryen.

How do I fix CVE-2019-7704?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-7704 being exploited?

There is no known exploitation of CVE-2019-7704 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-7704, GHSA-7fwv-6gmp-m9x7.

Is CVE-2019-7704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free