Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
On heap-math builds a TLS 1.2 server computes the DHE pre-master secret into a 512-byte buffer (578 with PSK) without checking it against its configured DH prime. A server that uses a prime above 4096 bits writes past the buffer whenever a client completes a DHE key exchange, before the client is authenticated.
On heap-math builds with PSK, a TLS 1.2 server writes the DHE-PSK shared secret at offset 2 of a 578-byte buffer without checking it against its configured DH prime. With a prime above 4096 bits the write passes the end of the buffer on any DHE-PSK ClientKeyExchange, before the pre-shared key is looked up.
In static-memory builds, wolfSSL frees a connection's own heap blocks with the heap of the WOLFSSL_CTX attached at teardown, not the heap that allocated them. When an SNI callback moves the connection to a CTX with a different heap through wolfSSL_set_SSL_CTX, static-pool blocks are handed to the wrong allocator.
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.
The handler for SSLv2-format ClientHello records sets the peer-authentication flag on session resumption from possession of the session secret alone. On the tested code this resumption path always aborts before the handshake completes, so the grant is a latent gap that a fix to the other resumption paths would miss.
// No embargoed advisories.