3 matches found
missing clamps for decimal args in external functions
Impact The following code does not properly validate that its input is in bounds. python @external def foox: decimal - decimal: return x Patches 0.3.0 / 2447 Workarounds Don't use decimal args...
Denial Of Service (DoS)
vyper is vulnerable to denial of service DoS. The library does not properly validate the bounds of decimal arguments in external functions, resulting in logical errors...
PT-2021-23105 · Vyper · Vyper
Name of the Vulnerable Software and Affected Versions: Vyper versions prior to 0.3.0 Description: The issue arises from external functions not properly validating the bounds of decimal arguments, leading to potential logic errors. Recommendations: For versions prior to 0.3.0, update to version...