CVE-2021-4239
Weak encryption and denial of service in github.com/flynn/noise
描述
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.
如何修補 CVE-2021-4239
要修補 CVE-2021-4239,請將受影響套件升級到下列已修補版本。
- —升級至 1.0.0 或更新版本
- —升級至 1.0.0 或更新版本
- —升級至 1.0.0 或更新版本
CVE-2021-4239 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 1.0.0
- from 0, < 1.0.0
- from 0, < 1.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |