Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
A TLS 1.2 DHE-PSK client writes the DH shared secret at offset 2 of a 578-byte buffer (heap-math builds) without checking it against the prime from the unsigned ServerKeyExchange. With wolfSSL's own key generation an oversized prime fails earlier with an error. The write is reachable when a PK callback generates the client's DH key pair.
On a TLS client, wolfSSL_get_session() returns a 12-byte cache locator cast to WOLFSSL_SESSION. wolfSSL_SESSION_set1_id() and wolfSSL_SESSION_set1_id_context() write through that pointer as if it were a full session, placing up to 32 caller-supplied bytes about 100 bytes past the locator in the global client session cache.
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 TLS 1.2 DHE client writes the DH shared secret into a 512-byte buffer (heap-math builds) without checking it against the prime from the ServerKeyExchange. With wolfSSL's own key generation an oversized prime fails earlier with an error. The write is reachable when a PK callback generates the client's DH key pair.
A wolfSSL DTLS 1.3 client whose ECH offer was not accepted skips NewSessionTicket messages by advancing the record cursor by the message size plus the record padding, which the record layer also counts. The input-buffer index ends past the buffered data, and later datagrams are parsed against corrupted buffer state.
On a resumed TLS 1.2 handshake the wolfSSL client marks the server as authenticated as soon as it has copied the cached master secret. The session records nothing about whether the server certificate was verified when it was created, so a session made without verification resumes on a connection that requires it.
When a TLS 1.3 server selects the client's resumption PSK, the wolfSSL client marks the server as authenticated without consulting any record of whether the original session verified a certificate. A ticket obtained without verification resumes on a connection that requires it, and the verify result reads as success.
// No embargoed advisories.