CVE-2018-19183 Denial of Service in ethereumjs-vm
Attackers can cause denial of service in ethereumjs-vm via specific code attributes, though the vendor disputes this as normal behavior.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-19183?
CVE-2018-19183 is a high-severity denial of service vulnerability in n/a, published on 12 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ethereumjs-vm 2.4.0 allows attackers to cause a denial of service (vm.runCode failure and REVERT) via a "code: Buffer.from(my_code, 'hex')" attribute. NOTE: the vendor disputes this because REVERT is a normal bytecode that can be triggered from high-level source code, leading to a normal programmatic execution result.
Weakness: CWE-119
Which versions are affected by CVE-2018-19183?
2 open source packages ship an affected version, including ethereumjs-vm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ethereumjs-vm npm | All versions to 2.4.0 | None |
ethereumjs-vm npm | All versions to 2.4.0 | None |
Products include Ethereumjs-Vm Project Ethereumjs-Vm.
How do I fix CVE-2018-19183?
No fix has been published for CVE-2018-19183 yet. Limit exposure of the affected software until one is available.
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-2018-19183 being exploited?
There is no known exploitation of CVE-2018-19183 in the wild and no public exploit code.
Sources
Also known as GHSA-2mw7-wggm-m6w3.