Integer Overflow or Wraparound Affecting package, versions <1.0.0

  • Attack Complexity


  • Confidentiality


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

    9 Sep 2021

  • disclosed

    8 Sep 2021

  • credit


How to fix?

Upgrade to version 1.0.0 or higher.

Overview is a Go implementation of the Noise Protocol Framework

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. If 2^64 (~18.4 quintillion) or more messages are encrypted with Encrypt after handshaking, the nonce counter will wrap around, causing multiple messages to be encrypted with the same key and nonce, resulting in a potentially catastrophic weakening of the security properties of the symmetric cipher.