Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
wolfSSL_ALPN_GetPeerProtocol returns the ALPN names offered by a TLS client as one comma-separated C string and copies each name unchanged. A client can put a comma, a NUL or CR/LF inside a protocol name, so an application that splits or logs the string sees entries, a truncation point or lines that the client chose.
wolfSSL builds the one-line form of a certificate name by joining fields with "/" and "=" and copies each value from the certificate unescaped. wolfSSL_X509_NAME_oneline returns that string as it is, so a value containing "/", "=" or a NUL makes the name show fields that are not in the certificate or end early.
wolfSSL_BIO_new_accept converts its port string with atoi and casts the result to a 16-bit field with no range check. A port string of "-1" becomes 65535 and "70000" becomes 4464, and wolfSSL_BIO_do_accept then binds that port and reports success.
wolfSSL_BIO_set_conn_port rejects a port of zero or below but has no upper bound. A value above 65535 is truncated to 16 bits when stored, so "70000" becomes 4464 and "65536" becomes 0, and the function returns success. A later connect uses the truncated port.
// No embargoed advisories.