Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
A wolfSSL TLS 1.2 client tests the server's Diffie-Hellman prime for primality, but the two flags that control the test are set once per object and never re-armed. After one handshake, a client object reused through wolfSSL_clear() accepts any later server prime, including a composite modulus, without the test.
A wolfSSL server sets options.useTicket when a ClientHello carries a session ticket extension and no reset path clears it. On an object reused with wolfSSL_clear(), a later ClientHello with any session ID resumes the retained session and derives keys from a master secret that wolfSSL_clear() zeroed.
wolfSSL_clear() does not free the ECH retry configurations stored on a client object or clear their accepted flag. After one ECH rejection, any later rejection on the recycled object fails with a fatal error in SetRetryConfigs, and the getter can return the previous connection's retry configurations.
wolfSSL_clear() does not reset ssl->options.echAccepted, and no server code path clears it. After one accepted ECH connection, a recycled server object answers any later ClientHello whose ECH extension fails to decrypt, including GREASE, with a fatal decrypt_error alert instead of falling back to the outer ClientHello.
wolfSSL_clear() re-initializes the main handshake transcript but leaves the ECH transcript state in ssl->hsHashesEch. After an ECH handshake is aborted and the object is recycled, the next ECH handshake hashes its inner ClientHello onto the previous connection's transcript, the acceptance confirmation cannot match, and the handshake fails.
wolfSSL_clear() does not release the handshake key slot and the related key-exchange buffers. If a handshake is abandoned while suspended and the object is recycled, the next handshake fails in AllocKey with BAD_STATE_E, and the previous connection's ephemeral key material stays allocated and unwiped until then.
// No embargoed advisories.