Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
The built-in OCSP and CRL lookup callbacks connect to the URL named in the peer's certificate and read the HTTP response with no time limit. A responder that accepts the connection and then stops sending keeps the verifying thread blocked inside the handshake call indefinitely.
With inline CRL fetching enabled, wolfSSL sends an HTTP GET to the host and port named in a certificate's CRL distribution point and applies no check to the destination. A certificate that the verifier accepts can direct that request at loopback, link-local or private addresses reachable from the verifier.
A TLS 1.2 client that requests ocsp_multi stapling defers revocation checking of chain CA certificates to the CertificateStatus message. The handler for that message requires a stapled response for the leaf only, then adds every pending chain CA to the certificate manager whether or not a response for it arrived.
When the server answers a client's OCSP stapling request, wolfSSL turns off its own OCSP and CRL lookups for the leaf certificate and relies on the staple. A missing or zero-length staple is then accepted unless must-staple is set, so a server can complete the handshake with a leaf certificate that had no revocation check.
For a client that requests OCSP stapling, wolfSSL replaces a failed CRL check on a chain CA certificate with success unless the CRL explicitly lists the certificate as revoked. The staple that is expected to cover the certificate is never required, so a missing or stale CRL for an intermediate no longer fails the handshake.
When a TLS 1.2 server omits the CertificateStatus message, the wolfSSL client runs a fallback OCSP lookup for the leaf certificate only and returns its failure only if OCSP or must-staple is enabled on the certificate manager. A client that requires CRL checking, has OCSP disabled and still requests stapling completes the handshake with no revocation check on the leaf.
On a CRL miss, LoadCertByIssuer checks that the issuer-hash CRL file exists and then loads it by name. The loader opens the same path twice in a row, so one lookup resolves the name three times. A local process that can write to the directory can replace the file between any of them.
LoadCRL lists the CRL directory, accepts entries that were regular files at listing time, and later opens each one by name. The open follows symlinks and does not recheck the object. A local process with write access to the directory can make the loader read a file it never checked.
// No embargoed advisories.