In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @openzeppelin/contracts
to version 5.4.0 or higher.
@openzeppelin/contracts is a library for contract development.
Affected versions of this package are vulnerable to Out-of-bounds Read via the lastIndexOf
function when the buffer is empty and the pos
argument is not set to its maximum value. An attacker can cause the function to access memory outside the intended buffer, potentially resulting in unexpected behavior such as returning an invalid index or causing a revert, by supplying crafted arguments.