CWE-320¶
Key Management Errors. [Authentication-Errors, Communication-Channel-Errors, Data-Integrity-Issues, Key-Management-Errors, Improper-Access-Control]
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
missing_verification |
TLS/SSL handshake performed without prior peer verification. |
None |
False |
Options¶
This rule shares the following common options: confidence, exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
handshake_functions¶
handshake_functions
Functions that perform (or complete) a TLS/SSL handshake.Type: list[str]
Default:
['SSL_do_handshake', 'BIO_do_handshake', 'wolfSSL_connect', 'wolfSSL_accept', 'mbedtls_ssl_handshake', 'gnutls_handshake']
verification_functions¶
verification_functions
Functions that configure certificate/peer verification for a TLS session or context.Type: list[str]
Default:
['SSL_CTX_set_verify', 'SSL_set_verify', 'wolfSSL_CTX_set_verify', 'wolfSSL_set_verify', 'mbedtls_ssl_conf_authmode', 'gnutls_certificate_set_verify_function']