libcurl skips the certificate verification for a QUIC connection under certain conditions, when built to use wolfSSL. If told to use an unknown/bad cipher or curve, the error path accidentally skips the verification and returns OK, thus ignoring any certificate problems.
https://security.netapp.com/advisory/ntap-20240531-0001/
https://hackerone.com/reports/2410774
https://curl.se/docs/CVE-2024-2379.json