CVE catalog

CVE-2021-4239

golang-github-flynn-noise: CVE-2021-4239

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debiangolang-github-flynn-noisesid1.1.0-1not affected
Debiangolang-github-flynn-noiseforky1.1.0-1not affected
Debiangolang-github-flynn-noisetrixie1.1.0-1not affected
Debiangolang-github-flynn-noisebookworm1.0.0-2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-flynn-noisesourcesidNot affectedunimportantNot reportedNot reported
Debiangolang-github-flynn-noisesourceforkyNot affectedunimportantNot reportedNot reported
Debiangolang-github-flynn-noisesourcetrixieNot affectedunimportantNot reportedNot reported
Debiangolang-github-flynn-noisesourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-flynn-noise]

    Details (4)
    • 1.0.0-2 · all · bookworm

      Not affected

      dsa · golang-github-flynn-noise · debian · bookworm

    • 1.0.0-2 · all · bookworm

      Not affected

      dsa · golang-github-flynn-noise · debian · bookworm

    • 1.1.0-1~bpo12+1 · all · bookworm-backports

      Not affected

      dsa · golang-github-flynn-noise · debian · bookworm

    • 1.1.0-1~bpo12+1 · all · bookworm-backports

      Not affected

      dsa · golang-github-flynn-noise · debian · bookworm

Observed:

References