CVE-2021-4239Noiseprotocol Noise
Alta 7.5 Sin autenticación
Seguir: esta CVE · Noiseprotocol · Noiseprotocol Noise Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.4% probabilidad de explotación en 30 días · percentil 24
- Requiere autenticación
- No
- Publicada
- 27 dic 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-311
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Noise.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/flynn/noise |
< 1.0.0 |
1.0.0 |
go get github.com/flynn/noise@v1.0.0 |
| Go | github.com/flynn/noise |
< 1.0.0 |
1.0.0 |
go get github.com/flynn/noise@v1.0.0 |
| Go | github.com/flynn/noise |
< 1.0.0 |
1.0.0 |
go get github.com/flynn/noise@v1.0.0 |
Según OSV / GitHub Advisories (GHSA-6cr6-fmvc-vw2p, GHSA-g9mp-8g3h-3c5c, GO-2022-0425). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| noiseprotocol | noise | todas |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- pkg.go.dev Patch Vendor Advisory