PT-2018-14844 · Ethereumjs · Ethereumjs-Vm
Tylerap
·
Published
2018-11-12
·
Updated
2024-08-05
·
CVE-2018-19183
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
ethereumjs-vm version 2.4.0
Description
The issue allows attackers to cause a denial of service, leading to
vm.runCode failure and REVERT, via a code attribute set to Buffer.from(my code, 'hex'). It's worth noting that the vendor disputes this, as REVERT is considered a normal bytecode that can be triggered from high-level source code, resulting in a normal programmatic execution result.Recommendations
For ethereumjs-vm version 2.4.0, consider restricting the use of the
code attribute with Buffer.from(my code, 'hex') to minimize the risk of denial of service until a patch is available. At the moment, there is no information about a newer version that contains a fix for this issue.Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ethereumjs-Vm