Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
In --enable-c89 builds the OpenSSL-compatibility X.509 printer formats a certificate's subjectAltName strings into an 80-byte stack buffer with a macro that discards the size, so a long alt name from a peer certificate overflows the stack when the certificate is printed.
On WOLF_C89 builds, XSNPRINTF expands to sprintf and ignores its size argument. X509PrintReqAttributes formats each CSR attribute value into an 80-byte stack buffer through that macro, so printing a request with a long attribute value writes past the buffer.
On WOLF_C89 builds, XSNPRINTF expands to sprintf and ignores its size argument. wolfSSL_X509V3_EXT_print formats the hex form of an Authority or Subject Key Identifier extension into a 129-byte stack buffer through that macro, so printing a certificate with a long key identifier writes past the buffer.
In WOLF_C89 builds the certificate printer formats each extension's OID text and criticality into an 80-byte stack buffer with an unbounded sprintf and checks the length afterwards. A critical extension with long numeric OID text writes up to six bytes past the buffer. The parser rejects unrecognised critical extensions, so only builds that accept certain critical extensions without naming them are exposed.
In WOLF_C89 builds the certificate printer appends each serial number byte to an 80-byte stack buffer with an unbounded sprintf and checks the remaining space afterwards. Printing a certificate whose serial number is 23 to 32 bytes long writes three bytes past the buffer before the function returns an error.
wolfSSL_iotsafe_on_ex copies id_size bytes into each of four slot-id fields of a stack-local struct without comparing id_size to the field width, which is 1, 2 or 4 bytes depending on the build. A larger id_size from the calling application writes past the fields and the struct, and reads past the caller's source buffers.
// No embargoed advisories.