7.5high

CVE-2018-19183

Denial of Service in ethereumjs-vm

Also known as GHSA-2mw7-wggm-m6w3

Published 7 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
3.1%
percentile 88%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

3.10% probability of exploitation in the next 30 days, higher than 88% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

EcosystemPackageAffectedFixed in
npmethereumjs-vm
<=2.4.0
no fix listed

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • github.com /ethereumjs/ethereumjs-vm/issues/386 · x_transferred
  • github.com /ethereumjs/ethereumjs-monorepo/issues/395#issuecomment-472449204 · x_transferred
  • github.com /ethereumjs/ethereumjs-monorepo/issues/386#issuecomment-439372074 · x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-19183 · advisory
  • github.com /advisories/GHSA-2mw7-wggm-m6w3 · advisory
  • github.com /ethereumjs/ethereumjs-vm · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.