CVE-2021-4239

High

Description

The Noise protocol implementation suffers from weakened cryptographic security after encrypting 2^64 messages, and a potential denial of service attack. After 2^64 (~18.4 quintillion) messages are encrypted with the Encrypt function, the nonce counter will wrap around, causing multiple messages to be encrypted with the same key and nonce. In a separate issue, the Decrypt function increments the nonce state even when it fails to decrypt a message. If an attacker can provide an invalid input to the Decrypt function, this will cause the nonce state to desynchronize between the peers, resulting in a failure to encrypt all subsequent messages.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNoise
PublishedDec 27, 2022
First seenDec 27, 2022

How to fix

Update
  • github.com/flynn/noise1.0.0 or later

Affected products

ProductAffected versionsFixed in
noiseprotocol noiseNo range specified—
github.com/flynn/noiseGov < 1.0.01.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-4239 · Noise · Dark Radar