Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
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.
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.
The buffer that holds the TLS 1.2 DHE-PSK pre-master secret reserves space for one 2-byte length field, but the composition writes two. With a 4096-bit DH prime and a 63- or 64-byte PSK, MakePSKPreMasterSecret writes one or two bytes past the end of the heap allocation. No capacity check exists on the path.
// No embargoed advisories.