
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-4239 affects the Noise protocol implementation, discovered and disclosed in 2021. The vulnerability impacts the cryptographic security of the protocol's message encryption system. The issue affects versions of github.com/flynn/noise before v1.0.0 (Go Packages).
The vulnerability manifests in two distinct ways: First, after encrypting 2^64 messages (approximately 18.4 quintillion), the nonce counter wraps around, resulting in multiple messages being encrypted with the same key and nonce combination. Second, the Decrypt function increments the nonce state even when message decryption fails, which can lead to state desynchronization (Go Packages).
The vulnerability has two primary impacts: a weakening of cryptographic security after the 2^64 message threshold is reached, and potential denial of service conditions. When the nonce counter wraps around, it compromises the security of message encryption by reusing key-nonce pairs. Additionally, the nonce state desynchronization can cause all subsequent message encryption attempts to fail (Go Packages).
The vulnerability was fixed in version 1.0.0 of github.com/flynn/noise. The fix includes proper handling of nonce states and encryption limits. Users should upgrade to version 1.0.0 or later to address these security issues (GitHub PR).
The security issues were initially reviewed privately by security researchers nbrownus and AxbB36, and the fixes were implemented through a pull request on GitHub. The changes were subsequently incorporated into the v1.0.0 release (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."