
CVE catalog
CVE-2021-4239
golang-github-flynn-noise: CVE-2021-4239
- Severity
- Low
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-flynn-noise | sid | 1.1.0-1 | not affected |
| Debian | golang-github-flynn-noise | forky | 1.1.0-1 | not affected |
| Debian | golang-github-flynn-noise | trixie | 1.1.0-1 | not affected |
| Debian | golang-github-flynn-noise | bookworm | 1.0.0-2 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-flynn-noise | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | golang-github-flynn-noise | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | golang-github-flynn-noise | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | golang-github-flynn-noise | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-github-flynn-noise-dev]Not affected
Source package: [golang-github-flynn-noise]
Details (4)
1.0.0-2· all · bookwormNot affected
dsa · golang-github-flynn-noise · debian · bookworm
1.0.0-2· all · bookwormNot affected
dsa · golang-github-flynn-noise · debian · bookworm
1.1.0-1~bpo12+1· all · bookworm-backportsNot affected
dsa · golang-github-flynn-noise · debian · bookworm
1.1.0-1~bpo12+1· all · bookworm-backportsNot affected
dsa · golang-github-flynn-noise · debian · bookworm
Observed: