CWE-323: Reusing a Nonce, Key Pair in Encryption
Nonces should be used for the present occasion and only once.
Overview
CWE-323 (Reusing a Nonce, Key Pair in Encryption) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
Nonces are often bundled with a key in a communication exchange to produce a new session key for each exchange.