Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
The opt-in OCSP responder screen resolves the responder host name, checks the addresses and discards them. The connect that follows resolves the name again and uses the first answer. A name whose DNS answers change between the two lookups passes the screen and receives the OCSP request at a loopback, link-local or private address.
The hash-directory fallback in LoadCertByIssuer checks that the issuer-hash file exists and then opens the same path again by name to load it as a trusted signer. A local process that can write to the directory can replace the file between the check and the open.
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.
When CA certificates are loaded from a directory, wolfssl_ctx_load_path accepts entries that were regular files at listing time and later opens each by name. A local process with write access to the directory can replace an entry between the check and the open, and the substituted content is installed as a trusted CA.
wolfSSL_X509_STORE_load_locations accepts directory entries that were regular files at listing time and later opens each by name. A local process with write access to the directory can replace an entry in between. wolfSSL_X509_STORE_set_default_paths also takes the directory from SSL_CERT_DIR.
// No embargoed advisories.