Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
ForceZero, the helper wolfSSL uses to wipe secrets, depends on the WC_BARRIER_DATA macro to stop the compiler from deleting its stores. Without GNU inline assembly that macro only evaluates the pointer and touches an unrelated volatile local, so the wipe can legally be removed and secrets can remain in memory.
In the fastmath backend, fp_clear wipes an integer's digits with the hardened force-zero routine only in FIPS builds. Other builds use a plain memset with no barrier, which an optimizing compiler is allowed to remove. The main key-free paths wipe their secrets separately, so the exposure is limited.
In the heap math backend, mp_clear on non-FIPS builds zeroes only the digits currently in use, with plain stores and no barrier, and then frees the buffer. A compiler may remove the stores, and digits beyond the in-use count are never cleared. The main key-free paths wipe their secrets separately.
In non-FIPS builds, sp_clear zeroes only the digits a big integer currently uses, with plain stores and no compiler barrier. Digits above the used count can keep residue of earlier values, and an optimizer may drop the stores. The library's own private-key teardowns use a separate full-buffer wipe.
In builds with WOLFSSL_TI_CRYPT, wc_AesFree is an empty function. The TI key setup copies the raw AES key into the Aes context, so the key stays in memory after the context is freed. The generic implementation clears the same context with ForceZero.
In builds with WOLFSSL_TI_CRYPT, wc_Des3Free is an empty function. The TI key setup copies the raw 24-byte Triple-DES key into the Des3 context, so the key stays in memory after the context is freed. The generic implementation clears the same context with ForceZero.
// No embargoed advisories.