Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
In the sniffer's static-RSA key setup, SetupKeys skips the two-byte length prefix of the ClientKeyExchange body and then checks the RSA ciphertext length against the byte count from before the skip. A body exactly as long as the ciphertext, or one byte longer, makes the RSA decryption read up to two bytes past the heap buffer that holds the message.
In the sniffer's static-ECC key setup, SetupKeys skips the one-byte length prefix of the ClientKeyExchange body and then checks the encoded point length against the byte count from before the skip. A body of exactly the expected point size makes the ECC point import read one byte past the heap buffer that holds the message.
The server-side ClientKeyExchange handler rejects an invalid X25519, X448 or ECC public key and a mismatched RSA premaster length, but the fatal alerts for those four cases are compiled only with WOLFSSL_EXTRA_ALERTS. A default build closes the connection without an alert.
// No embargoed advisories.