vetkit.py.tls.weak-protocol
An obsolete SSL/TLS protocol version (SSLv2, SSLv3, TLS 1.0 or TLS 1.1) is selected or allowed.
Last updated:
Suite: Security
python
An obsolete SSL/TLS protocol version (SSLv2, SSLv3, TLS 1.0 or TLS 1.1) is selected or allowed.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Use ssl.create_default_context() (TLS 1.2+) and set minimum_version = ssl.TLSVersion.TLSv1_2.
References
Source: packages/engine/rules/sast/python.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.