Improper Input Validation Affecting go.etcd.io/etcd/v3/wal Open this link in a new tab package, versions <3.4.10


0.0
low
  • Attack Complexity

    High

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

    SNYK-GOLANG-GOETCDIOETCDV3WAL-1083967

  • published

    6 Aug 2020

  • disclosed

    6 Aug 2020

  • credit

    Unknown

How to fix?

Upgrade go.etcd.io/etcd/v3/wal to version 3.4.10 or higher.

Overview

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.

References