Cyber Resilience

CVE-2021-4239

High

Published: 27 December 2022

Published
27 December 2022
Modified
14 April 2025
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0013 31.4th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2021-4239 is a high-severity Missing Encryption of Sensitive Data (CWE-311) vulnerability in Noiseprotocol Noise. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 31.4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

noiseprotocol
noise
all versions

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-311

Privacy and security training stresses encryption of sensitive data, reducing missing encryption weaknesses.

addresses: CWE-311

Exchange agreements must document security requirements, which would include encryption to protect sensitive data in transit.

addresses: CWE-311

The map highlights data actions that involve sensitive data, enabling identification of missing encryption requirements.

addresses: CWE-311

Settings can require encryption of sensitive data, preventing missing encryption weaknesses.

addresses: CWE-311

Architectures must describe confidentiality protections, which includes mandating encryption for sensitive data in transit and at rest.

addresses: CWE-311

Privacy and security curricula stress encryption requirements, reducing missing encryption of sensitive data.

addresses: CWE-311

Requires encryption and similar controls for CUI processed or stored externally, preventing missing encryption of sensitive data.

addresses: CWE-311

Monitoring detects missing encryption of sensitive data in storage or transit configurations.

References