libcurl (when built to use GnuTLS) fails to verify that a peer's certificate has not already expired or has not yet become valid. This allows malicious servers to present certificates to libcurl that were not rejected properly.
Notably, the CA certificate and common name checks are still in place which reduces the risk for random servers to take advantage of this flaw.
{ "CWE": { "id": "CWE-298", "desc": "Improper Validation of Certificate Expiration" }, "URL": "https://curl.se/docs/CVE-2007-3564.json", "affects": "both", "package": "curl", "severity": "Low", "www": "https://curl.se/docs/CVE-2007-3564.html", "last_affected": "7.16.3" }