Improper Input Validation Affecting Open this link in a new tab package, versions <3.4.10

  • Attack Complexity


Do your applications use this vulnerable package?

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 applications
  • snyk-id


  • published

    6 Aug 2020

  • disclosed

    6 Aug 2020

  • credit


How to fix?

Upgrade to version 3.4.10 or higher.


Affected versions of this package are vulnerable to Improper Input Validation. A large slice causes panic in decodeRecord method. The size of a record is stored in the length field of a WAL file and no additional validation is done on this data. Therefore, it is possible to forge an extremely large frame size that can unintentionally panic at the expense of any RAFT participant trying to decode the WAL.