Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
After each AES-CCM message, the EVP layer zeroes the context IV and then copies the unchanged nonce from the AES state back into it. The control that would advance the nonce is not implemented for CCM. A context reused for further messages without a new IV encrypts them under the first message's key and nonce.
In the wolfSSL EVP compatibility layer, initializing AES-CBC or DES-EDE3-CBC with a key and a NULL IV on a fresh context succeeds and leaves the IV register at zero. Every message under that key is then encrypted with the same all-zero IV, and no error is reported.
In the wolfSSL EVP compatibility layer, initializing single-DES CBC with a key and a NULL IV succeeds, and the DES key setup sets the IV register to zero. Every message under that key is then encrypted with the same all-zero IV, and no error is reported.
In the wolfSSL EVP compatibility layer, initializing AES-CTR with a key and a NULL IV on a fresh context succeeds and leaves the counter block at zero. Every message initialized this way under the same key is encrypted with the same keystream, and no error is reported.
In the wolfSSL EVP compatibility layer, the nine AES-CFB1, CFB8 and CFB128 initialization branches accept a key with a NULL IV on a fresh context and leave the IV register at zero. Every message under that key then starts from the same keystream, and no error is reported.
In the wolfSSL EVP compatibility layer, initializing AES-OFB with a key and a NULL IV on a fresh context succeeds and leaves the start block at zero. OFB derives its keystream from the key and that block alone, so every message under the key is encrypted with the same keystream.
In the wolfSSL EVP compatibility layer, the AES-XTS initialization branches write sixteen zero bytes into the tweak when the IV argument is NULL and return success. Every data unit under the key is then encrypted with tweak zero, so equal plaintext units give equal ciphertext units.
wolfSSL_EVP_CipherInit keeps a previously set IV when a context is re-initialized without one, but it decides that an IV exists from the IV size field, which is set whether or not an IV was given. A cipher-then-key initialization with no IV programs sixteen zero bytes as the IV and returns success.
// No embargoed advisories.