Skip to content
vetkitChecksChangelogDocumentation

vetkit.c.tls.curl-verification-disabled

libcurl peer or host verification is switched off, so the TLS connection can be intercepted (man-in-the-middle).

Last updated:

Suite: Security

c, cpp

libcurl peer or host verification is switched off, so the TLS connection can be intercepted (man-in-the-middle).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Keep CURLOPT_SSL_VERIFYPEER = 1 and CURLOPT_SSL_VERIFYHOST = 2 (the defaults); point CURLOPT_CAINFO at a private CA instead of disabling checks.

References

Source: packages/engine/rules/sast/c.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.